Thanks for your reply.
For the first question, the code in SSL_CTX_use_PrivateKey_file
(ssl\ssl_rsa.c)
likes this
if (type == SSL_FILETYPE_PEM)
{
j=ERR_R_PEM_LIB;
pkey=PEM_read_bio_PrivateKey(in,NULL,
ctx->default_passwd_callback,
Hi, friends,
I try to add the client authentication into a client application.
Two problems block me.
1. It is not allowed to use DER type files in SSL_CTX_use_PrivateKey_file.
It only accepts PEM files.
2. During handshaking, the client application fails in
ssl3_get_certificate_request. In
what 'data' means and where and how they are
assigned?
Can anyone tell me what's wrong there? Is the self-signed certificate not
defined properly?
Hua
-Original Message-
From: Dr Stephen Henson [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 21, 2000 4:01 PM
To: [EMAIL
Hi, there,
I am new in SSL and have a problem on verifying a self-signed certificate.
I am working on client side. When verify a self-signed certificate, I
suppose
to get the verify_result = X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT.
But actually, I received X509_V_ERR_INVALID_PURPOSE.
I debugg