[Top][All Lists]
[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 12:17:49 +0100 |
On Wed, Nov 24, 2010 at 11:05 AM, Nikias Bassen <address@hidden> wrote:
>> > 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.
> These functions are intended for the server, right? Remember we are on the
> client side. Does that make any difference?
No. They are functions for the one that wants to use certificate (it can be
either server or client). The only distinction between server and
client in gnutls
is being done in gnutls_init(). Most of the other functions are applicable to
both unless they mention otherwise in the description.
regards,
Nikos
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, (continued)
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/23
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Jeffrey Walton, 2010/11/23
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/23
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Jeffrey Walton, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Jeffrey Walton, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/24
Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikias Bassen, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikias Bassen, 2010/11/24
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice,
Nikos Mavrogiannopoulos <=
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikias Bassen, 2010/11/26
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikos Mavrogiannopoulos, 2010/11/27
- Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, Nikias Bassen, 2010/11/27
Re: iDevice GnuTLS issue with iOS 4.2 - libimobiledevice, almogbh, 2010/11/25