Regards,
Nayna Jain
From: Viktor Dukhovni
To: openssl-users@openssl.org
Date: 02/27/2013 11:27 PM
Subject:Re: Need understanding of SSLv23_xxx_method() API.. It is
failing when SSLv23_client_method() connects to
TLSv1_2_server_method()
Sent by:ow
On Wed, Feb 27, 2013 at 11:18:19PM +0530, Nayna Jain wrote:
> I had asked few questions related to SSLv23_xxx_method API to understand
> its internals.
http://stackoverflow.com/questions/3938824/what-books-will-help-me-learn-everything-i-can-about-ssl-pki
--
Viktor.
ClientHello Request ?
Also, when I tried to connecting client using SSLv23_client_method() API to
server using TLSv1_2_server_method() ,
I am getting this error
SSL negotiation failed: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
However, I am suddently getting this
char *ciph = "DHE-RSA-AES256-SHA";
SSL_load_error_strings();
SSLeay_add_ssl_algorithms();
RAND_load_file("/dev/urandom", 1024);
printf("crypto lib: %s\n", SSLeay_version(SSLEAY_VERSION));
if ((ctx = SSL_CTX_new(SSLv23_client_method())) == NULL) {
goto err;
}
LL;
pOpt->sslKey = NULL;
//SSL Initialization
SSLeay_add_ssl_algorithms();
_meth = SSLv23_client_method();
SSL_load_error_strings();
_ctx = SSL_CTX_new(_meth);
if(_ctx == NULL)
{
result = SSL_ERROR_CREATE_NEW_CTX;
ERR_print_errors_fp(stderr);
return result;
}
if (pOpt->sslCertCheck)
{
SSL_CTX_set_
You may also get some version information from
library:
$ strings -a /lib/libssl.so.6 | grep OpenSSL
OpenSSLDie
SSLv2 part of OpenSSL 0.9.8a 11 Oct 2005
SSLv3 part of OpenSSL 0.9.8a 11 Oct 2005
TLSv1 part of OpenSSL 0.9.8a 11 Oct 2005
DTLSv1 part of OpenSSL 0.9.8a 11 Oct 2005
OpenSSL 0.9.8a 11 Oct
Hello,
>
> I can initialise SSL correctly now.
> But when SSL_connect(), my application will crash, without any error
> description on stderr.
> what has happened?
I think that you there may be incompatibility between headers
and library.
1) Check "how may" versions you have installed, for
cola <[EMAIL PROTECTED]> wrote:
>
> Hello,
> >
> > Part of my source code is following:
> >
> > _ctx = SSL_CTX_new(SSLv23_client_method());
> > if(_ctx == NULL)
> > {
> > result = SSL_ERROR_CREATE_NEW_CTX;
> > ERR_print_errors_fp(stderr);
s,
Cruise Zou
On 11/27/06, Marek Marcola <[EMAIL PROTECTED]> wrote:
Hello,
>
> Part of my source code is following:
>
> _ctx = SSL_CTX_new(SSLv23_client_method());
> if(_ctx == NULL)
> {
> result = SSL_ERROR_CREATE_NEW_CTX;
> ERR_print_errors_fp(stderr);
&
Hello,
>
> Part of my source code is following:
>
> _ctx = SSL_CTX_new(SSLv23_client_method());
> if(_ctx == NULL)
> {
> result = SSL_ERROR_CREATE_NEW_CTX;
> ERR_print_errors_fp(stderr);
> czEmail_Report("SSL create new contex ERRO
Hi all,
Part of my source code is following:
_ctx = SSL_CTX_new(SSLv23_client_method());
if(_ctx == NULL)
{
result = SSL_ERROR_CREATE_NEW_CTX;
ERR_print_errors_fp(stderr);
czEmail_Report("SSL create new contex ERROR!", result);
return result;
}
_ctx is NULL, and it reports er
Hello,
> I am developing a network application base on OpenSSL-0.9.8.b, on
> Redhat Linux.
> I have added OpenSSL API in my source code, but there is something
> wrong when connecting to server. I have traced the source code, find
> that:
> SSL_CTX_new(SSLv23_client_meth
Hi all,
I am developing a network application base on OpenSSL-0.9.8.b, on Redhat
Linux.
I have added OpenSSL API in my source code, but there is something wrong
when connecting to server. I have traced the source code, find that:
SSL_CTX_new(SSLv23_client_method()); return NULL.;
I really
usage that works:
SSL_CTX_new(SSLv23_client_method());
When used in OpenSSL 0.9.1+ it doesn't. I've had to replace that with
SSL_CTX_new(SSLv2_client_method());
To make it work. I also found out in the "docs" at
http://www.openssl.org/docs/ssl.html the method
14 matches
Mail list logo