Bug 1159222

Summary: "SSL certificate is untrusted" warning is too vague
Product: [Retired] Pulp Reporter: Miroslav Suchý <msuchy>
Component: user-experienceAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: low Docs Contact:
Priority: medium    
Version: 2.4 BetaCC: austin, jortel, rbarlow
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 22:42:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Suchý 2014-10-31 09:04:23 UTC
Description of problem:
After installation of Pulp I run:
pulp-admin rpm repo create --repo-id=test  --feed=http://copr-be.cloud.fedoraproject.org/results/msuchy/igal2/epel-7-x86_64/
And got this message:
WARNING: The server's SSL certificate is untrusted!

The server's SSL certificate was not signed by a trusted authority. This could
be due to a man-in-the-middle attack, or it could be that the Pulp server needs
to have its certificate signed by a trusted authority. If you are willing to
accept the associated risks, you can set verify_ssl to False in the client
config's [server] section to disable this check.

Because this is just testing deployment to get familier with Pulp, I would like to set verify_ssl to False, but I have not idea what is "client
config" and now I have to dive into a documentation.

It would be nice if you can tell me that "client config" is either /etc/pulp/admin/admin.conf or ~/.pulp/admin.conf

Comment 1 Randy Barlow 2014-11-03 17:51:39 UTC
One way to make this less vague is to catch this exception in every piece of code that uses the bindings and add in a message about the pertinent config file there.

Comment 2 Brian Bouterse 2015-02-28 22:42:31 UTC
Moved to https://pulp.plan.io/issues/602