SOLER SANGUESA Miguel via FreeIPA-users wrote:
I have run the tool on an environment where I’ve installed my own
certificate for HTTPS (following this tutorial:
and it complains when find the root certificate of my certificate:
# python2 ipa-checkcerts.py
ipa: INFO: IPA version 4.6.4-10.el7
IPA version 4.6.4-10.el7
ipa: INFO: Check CA status
Check CA status
ipa: INFO: Check tracking
ipa: INFO: Check NSS trust
Check NSS trust
Traceback (most recent call last):
File "ipa-checkcerts.py", line 931, in <module>
File "ipa-checkcerts.py", line 190, in run
File "ipa-checkcerts.py", line 439, in check_trust
expected = expected_trust[nickname]
Is this normal?
No, I don't think I ever tested this scenario. I'll take a look.
I did confirm it also fails if you install CA-les.
Because I have tried to add a RHEL 6 client and I get the error:
" Successfully retrieved CA cert
Subject: CN=Certificate Authority,O=IPA.TESTAD.LOCAL
Issuer: CN=Certificate Authority,O=IPA.TESTAD.LOCAL
Valid From: Mon Jan 30 10:52:18 2017 UTC
Valid Until: Fri Jan 30 10:52:18 2037 UTC
Joining realm failed: libcurl failed to execute the HTTP POST
transaction. Peer certificate cannot be authenticated with known CA
Use ipa-cacert-manage to install the CA of the 3rd party certs you added.