<p dir="ltr">Hello Pulpers</p>
<p dir="ltr">I've upgraded from 2.4.0-1 to 2.5.1-1 and have hit SSL issues.</p>
<p dir="ltr">Despite having verify_ssl: false in /etc/pulp/admin/admin.conf pulp-admin would now bomb out with errors in ~/.pulp/admin.log:</p>
<p dir="ltr">ConnectionException: (None, 'tlsv1 alert unknown ca', None)</p>
<p dir="ltr">That shouldn't happen right?</p>
<p dir="ltr">I was using a self signed certificate so to try to get around this I used a VeriSign certificate. </p>
<p dir="ltr">Despite updating the relevant variables...</p>
<p dir="ltr">admin.conf:<br>
ca_path: /etc/pki/tls/certs/ca-bundle.crt</p>
<p dir="ltr">server.conf<br>
cacert: /etc/pki/pulp/new-hostname-cacert.pem<br>
cakey: /etc/pki/pulp/new-hostname-key.pem<br>
ssl_ca_certificate: /etc/pki/tls/certs/ca-bundle.crt</p>
<p dir="ltr">/etc/httpd/conf.d/pulp.conf:<br>
SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt<br>
SSLCertificateFile /etc/pki/pulp/new-hostname-cacert.pem<br>
SSLCertificateKeyFile /etc/pki/pulp/new-hostname-key.pem</p>
<p dir="ltr">...and appending the intermediate certificate into the ca-bundle.crt file, pulp-admin still gave the same exception, despite appending the intermediary cert having fixed wget and curl, which were complaining when i did a test grab of /pulp/repos until I did that. </p>
<p dir="ltr">I could see that ssl_error_log contained:</p>
<p dir="ltr">Thu Dec 18 10:57:15 2014] [error] [client 123.123.123.123] Certificate Verification: Error (20): unable to get local issuer certificate<br>
[Thu Dec 18 10:57:15 2014] [error] [client 123.123.123.123] Re-negotiation handshake failed: Not accepted by client!?</p>
<p dir="ltr">After some googling I tried commenting out:</p>
<p dir="ltr">SSLVerifyClient optional</p>
<p dir="ltr">In /etc/httpd/conf.d/pulp.conf</p>
<p dir="ltr">That resolved the SSL Apache log error, but now I get:</p>
<p dir="ltr">The specified user does not have permission to execute the given command</p>
<p dir="ltr">admin.log:<br>
PermissionsException: RequestException: GET request on /pulp/api/v2/tasks/ failed with 401 - Authentication with username None failed: invalid SSL certificate.<br></p>
<p dir="ltr">So to summarise ... is verify_ssl broken in 2.5.1? And what have I been doing wrong with my certificates?</p>
<p dir="ltr">Thanks!!</p>
<p dir="ltr">Paul<br>
</p>