diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2016-03-16 13:07:43 +1100 |
|---|---|---|
| committer | Fraser Tweedale <ftweedal@redhat.com> | 2016-04-14 16:07:17 +1000 |
| commit | 28bc4ed903bc9e2618390ec412602d889e28354b (patch) | |
| tree | 94f929e8ee91cd53ac9d60090279081c81d377d6 /base/server/python | |
| parent | a39499f08966a517d52c97ef0cd54d8e6f098fb9 (diff) | |
| download | pki-28bc4ed903bc9e2618390ec412602d889e28354b.tar.gz pki-28bc4ed903bc9e2618390ec412602d889e28354b.tar.xz pki-28bc4ed903bc9e2618390ec412602d889e28354b.zip | |
Lightweight CAs: set DN based on data from LDAP
When initialising a lightweight CA, if we do not have the signing
cert and key in the NSSDB yet, we do not initialise the DN. This
causes NPE in other code that expects getX500Name() to return a
value, e.g. REST API to list or show CA.
To work around this, when loading lightweight CAs set the DN based
on the 'authorityDN' value stored in its LDAP entry.
Part of: https://fedorahosted.org/pki/ticket/1625
Diffstat (limited to 'base/server/python')
0 files changed, 0 insertions, 0 deletions
