-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read the IPA CA certificate to obtain the serial number
The dogtag connectivity test contains the command ipa cert-show to verify that the CA basically works and we are allowed to use it. It had a hardcoded 1 as the CA certificate since pre-random serial numbers it was a predictable value. Instead read the CA cert and pluck the serial number from it and use that value instead. /etc/ipa/ca.crt may contain multiple certificates in the case of an external CA install or additional certs added by ipa-cacert-manage so sift through the list to find the expected IPA subject. #260 Signed-off-by: Rob Crittenden <[email protected]>
- Loading branch information
Showing
2 changed files
with
253 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters