gnutls-devel
[Top][All Lists]
Advanced

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

Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice


From: Nikos Mavrogiannopoulos
Subject: Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice
Date: Wed, 24 Nov 2010 09:29:29 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

On 11/24/2010 06:25 AM, Nikias Bassen wrote:
> Hi,
> 
> we found out that the certificate checking is more strict now as it seems. I
> have the following question. Using openssl, we do the following:
> 
> if (SSL_CTX_use_certificate_file(ssl_ctx,
>   "/path/to/certificate.pem",
>   SSL_FILETYPE_PEM) != 1) {
>       debug_info("WARNING: Could not load RootCertificate");
> }
> if (SSL_CTX_use_RSAPrivateKey_file(ssl_ctx,
>   "/path/to/privatekey.pem",
>   SSL_FILETYPE_PEM) != 1) {
>       debug_info("WARNING: Could not load RootPrivateKey");
> }
> 
> What is the equivalent to this when using gnutls?

Check gnutls_certificate_set_x509_key_file() and the examples in the
gnutls manual.

regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]