ipa commands fails with "Peer's certificate issuer has been marked as not trusted by the user" error

Solution Verified - Updated -

Issue

  • ipa comands fails with certificate trust error, how do I fix this issue?
# ipa user-mod najmuddin@EXAMPLE.COM --password
Password: 
Enter Password again to verify: 
ipa: ERROR: cert validation failed for "CN=ipa.example.com,O=EXAMPLE.COM" ((SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.)
ipa: ERROR: cannot connect to u'http://ipa.example.com/ipa/xml': [Errno -8172] (SEC_ERROR_UNTRUSTED_ISSUER) Peer's certificate issuer has been marked as not trusted by the user.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise IdM 2.x/3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content