Re: interactive ssl cert handling



On 03/29/2010 12:04 PM, Daniel Kahn Gillmor wrote:
> In the event that the implementor chooses to "reject all bad"
> certificates, how does libsoup know which certificates are bad?

You set the "ssl-ca-file" (aka SOUP_SESSION_SSL_CA_FILE) property on the
soup session to point to a file containing PEM-encoded certs (eg,
/etc/ssl/certs/ca-certificates.crt on Debian or
/etc/pki/tls/certs/ca-bundle.crt on Fedora). Setting this property is
what turns "reject all bad certs" mode on.

-- Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]