[pki-devel][PATCH] 0039-Ability-to-toggle-profile-usablity-in-Web-vs-CLI-too.patch
by John Magne
[PATCH] Ability to toggle profile usablity in Web vs CLI tools.
Ticket #1442.
This fix gives the command line enrollment commands the ability to enroll a cert against a profile
that has been marked as not visible but "enabled".
With the simple fix the following scenarios tested to work:
The "caUserCert" Profile was marked as not visible, but enabled.
1. pki -c Secret123 client-cert-request --profile caUserCert uid=jmagne
This is the simplest form of user cert enrollment.
2. pki ca-cert-request-profile-show caUserCert --output testuser.xml
pki ca-cert-request-submit testuser.xml
The first command gives us the profile's xml file, which after modification is used to enroll.
3. pki -d ~/.dogtag/pki -c "" -n "PKI Administrator for localdomain" ca-profile-show caUserCert
This one shows that we can view the contents of a non visible profile. Listing is not allowed.
We felt this appropiate to allow a command line user to get the details of a non visible profile that
they know aobut and want to use.
9 years, 5 months
[PATCH] 619 Cleaned up SystemConfigService.validateRequest().
by Endi Sukma Dewata
The configure() in SystemConfigService method has been modified to
log only the error message in normal responses but log the full
stack trace when unexpected issues occur.
The validateData() in SystemConfigService has been renamed to
validateRequest() for clarity. The log messages have been modified
to include the invalid values entered in the request.
--
Endi S. Dewata
9 years, 5 months
[PATCH] 006 Create Python config verification method
by Christian Heimes
Hi,
the patch addresses issue https://fedorahosted.org/pki/ticket/1413.
After the PKI meeting, Matt and Endi had a discussion about the
verification method on IRC. They fear that there is not enough time to
test the new feature thoroughly. I turned the checker into an optional
feature. By default strict verification is disabled and the user cfg is
not verified at all.
# pkispawn --strict -f test.inf -s CA
Log file: /var/log/pki/pki-ca-spawn.20150701133808.log
Loading deployment configuration from test.inf.
pkispawn : ERROR 'Could not parse: 'User configuration contains
unsupported option(s)
[Tomcat] pki_foo'
Christian
9 years, 5 months