Hide Forgot
Description of problem: If the server's configured name and returned name do match, we error out on every command except consumer register How reproducible: Always Steps to Reproduce: 1. Register consumer against misconfigured server 2. Try to run any other command Actual results: Successful registration, unsuccessful subsequent commands Expected results: Unsuccessful registration
I verified that this issue has been resolved, but I do not know when it was resolved. To test this, I configured Apache to use a certificate from another host and tried to register against it: (pulp)[rbarlow@notepad]/etc/pki/tls/certs% sudo pulp-consumer -u admin register --consumer-id notepad Enter password: The server hostname configured on the client did not match the name found in the server's SSL certificate. The client attempted to connect to [notepad.usersys.redhat.com] but the server returned [grapefruit.rdu.redhat.com] as its hostname. The expected hostname can be changed in the client configuration file. Alternatively, you could also configure /etc/hosts to resolve some arbitrary name to ::1 and then configure /etc/pulp/consumer/consumer.conf to use that name as the server to connect to. This should result in a similar error.
verified [root@qe-blade-14 ~]# rpm -qa pulp-consumer-client pulp-consumer-client-2.5.0-0.8.beta.el6.noarch [root@qe-blade-14 ~]#
Moved to https://pulp.plan.io/issues/332