[PyQt] QWebView and https

alanm me at alandmoore.com
Thu May 27 17:51:00 BST 2010


On Thursday 27 May 2010 10:49:24 am Russell Valentine wrote:

> Adding your the CA certificate should be easier then ignore all errors.
> I havn't tried it but I think it would be something like this.
> 
> config = QSslConfiguration.defaultConfiguration()
> certs=config.caCertificates()
> 
> certs.append(QSSLCertificate(QFile("starfieldcert")))
> config.setCaCertificates(certs)
> 
> I think their certs are here:
> https://certs.starfieldtech.com/anonymous/repository.seam
> 
> Good luck.

Thanks for the suggestion.  I downloaded all the certificate files from that 
page, as well as the one from the server itself.  I added them in using the 
code example here.

Still no luck, though.  Clicking a link to an SSL page just doesn't work.  For 
all I can tell, it's not emitting the sslErrors() signal either, because the 
code in the connected slot isn't being run.


More information about the PyQt mailing list