Support for testable https connections

Bug #1211931 reported by Barry Warsaw
This bug report is a duplicate of:  Bug #1202809: Test mode for the download service. Edit Remove
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Obviously, if you're downloading a file over http, you don't need to check certificates. However, image updates need to download many of its files over https, and in that case I hope/assume that the d/l service checks server certificates.

If the certificate chain fails, I would expect to see an error signal indicating as such. I'm not sure that's happening.

Further, in order to test https connections, I need to be able to add a self-signed certificate to the set of certs that https will accept. I start my own https server in my test suite, and that server has a self-signed certificate. I can do this in Python, but we need to be able to tell the download service to (temporarily!) accept the self-signed cert.

Revision history for this message
Barry Warsaw (barry) wrote :

Oops, yes, with the self-signed cert, I do see an error signal with the message 'SSL Error'. I need to be able to selectively enable/disable accepting of the self-signed certificate.

Revision history for this message
Manuel de la Peña (mandel) wrote :

After your comment I'll set this bug as a duplicate of #1202809

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints