-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
GeraGray schrieb:
|> Yes, this is bug, in any case when key type is not recognized (not
|> RSA/DSA/EC)
|> error with information of unknown public key will be printed.
|> This should be corrected.
|> EVP_PKEY_RSA instead of SSL_FILETYPE_ASN1 shou
> Yes, this is bug, in any case when key type is not recognized (not
> RSA/DSA/EC)
> error with information of unknown public key will be printed.
> This should be corrected.
> EVP_PKEY_RSA instead of SSL_FILETYPE_ASN1 should be used.
Thnaks, now it works correctly.
--
Sergey
___
Please note that you have just divulged that private key, and should
not use it for anything other than development. (It's up to you, but
I wouldn't feel safe knowing that it had been compromised.)
-Kyle H
On Fri, Apr 11, 2008 at 12:45 AM, geragray <[EMAIL PROTECTED]> wrote:
[...]
__
Hello,
[EMAIL PROTECTED] wrote on 04/11/2008 09:45:12 AM:
>
>
> Victor Duchovni wrote:
> >
> > The success of "SSL_CTX_use_certificate" seems to point to it being
> > a certificate. Which is it? Did the OP misreport what worked? Which
> > was it:
> >
>
> Sorry, i misstyped the 2nd function.
46158036302A5FC00631A80EA468F8
--
View this message in context:
http://www.nabble.com/Problem-with-SSL_CTX_use_certificate_ASN1-tp16609096p16626771.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL
Hello,
[EMAIL PROTECTED] wrote on 04/10/2008 11:56:50 PM:
> On Thu, Apr 10, 2008 at 11:44:23PM +0200, [EMAIL PROTECTED] wrote:
>
> > Hello,
> >
> > > On Thu, Apr 10, 2008 at 10:46:45PM +0200, [EMAIL PROTECTED]
wrote:
> > >
> > > > > I have converted that key to pem format with openssl command
On Thu, Apr 10, 2008 at 11:44:23PM +0200, [EMAIL PROTECTED] wrote:
> Hello,
>
> > On Thu, Apr 10, 2008 at 10:46:45PM +0200, [EMAIL PROTECTED] wrote:
> >
> > > > I have converted that key to pem format with openssl commandline
> tool
> > > and
> > > > loaded with
> > > > SSL_CTX_use_certificat
Hello,
> On Thu, Apr 10, 2008 at 10:46:45PM +0200, [EMAIL PROTECTED] wrote:
>
> > > I have converted that key to pem format with openssl commandline
tool
> > and
> > > loaded with
> > > SSL_CTX_use_certificate_ASN1(ctx, len, (unsigned char*)in_buf)
> > > It worked.
> > >
> > > Does anybody h
On Thu, Apr 10, 2008 at 10:46:45PM +0200, [EMAIL PROTECTED] wrote:
> > I have converted that key to pem format with openssl commandline tool
> and
> > loaded with
> > SSL_CTX_use_certificate_ASN1(ctx, len, (unsigned char*)in_buf)
> > It worked.
> >
> > Does anybody have any ideas what is wrong
Hello,
> I need to load ASN1/DER private key. To do this i use
>
> FILE *fp;
> char in_buf[1000];
> fp = fopen("../keys/prkey.der", "r");
> len = fread(in_buf, sizeof(char), 1000, fp);
> fclose(fp);
> if (!len)
> return 0;
>
> if (!SSL_CTX_use_PrivateKey_ASN1(SSL_FILETYPE_ASN1, ctx, (unsigned
at key to pem format with openssl commandline tool and
loaded with
SSL_CTX_use_certificate_ASN1(ctx, len, (unsigned char*)in_buf)
It worked.
Does anybody have any ideas what is wrong with SSL_CTX_use_PrivateKey_ASN1 ?
Thanks in advance.
--
View this message in context:
http://www.nab
11 matches
Mail list logo