<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
Hi everyone.<br /><br />I've a problem with my new freeipa installation, v4.1.0, over RHEL 7 like distribution.<br /><br />The installation was ok, but now I've some problems operating via CLI:<br /># ipa user-show admin<br />ipa: ERROR: cert validation failed for "CN=srv01.ipa.mydomain.com,O=IPA.MYDOMAIN.COM" ((SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.)<br />ipa: ERROR: cannot connect to 'https://srv01.ipa.mydomain.com/ipa/json': (SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.<br /><br />I've got the same problem connectiong via curl, but after doing these command for curl now it works, but not for ipa cli operations:<br />----------------------<br /># certutil -A -d /etc/pki/nssdb -n 'IPA CA' -t CT,C,C -a -i /etc/ipa/ca.crt<br /># certutil -L -d /etc/pki/nssdb<br />Certificate Nickname                                         Trust Attributes<br />                                                             SSL,S/MIME,JAR/XPI<br />IPA CA                                                       CT,C,C<br /># cp /etc/ipa/ca.crt /etc/pki/ca-trust/source/anchors/<br /># update-ca-trust extract<br />----------------------<br /><br />And also this command doesn't work:<br /># ipa trust-add --type=ad mydomain.com --admin Administrator --password<br />ipa: ERROR: cert validation failed for "CN=srv01.ipa.mydomain.com,O=IPA.MYDOMAIN.COM" ((SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.)<br />ipa: ERROR: cannot connect to 'https://srv01.ipa.mydomain.com/ipa/json': (SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.<br /><br />So ... what's the problem?<br /><br />Let me know, thanks.<br />Morgan
</body></html>
<br><br/><br/>Connetti gratis il mondo con la nuova indoona:  hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.<br />
E chiami gratis anche i numeri fissi e mobili nel mondo!<br />
Scarica subito l’app Vai su <a href='https://www.indoona.com/' target='_Blank'>https://www.indoona.com/</a><br/><br/>