Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CA.pl newca error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
saluo
n00b
n00b


Joined: 06 Feb 2008
Posts: 61
Location: Rzeszow

PostPosted: Sat Aug 20, 2011 10:35 pm    Post subject: CA.pl newca error Reply with quote

When I run ./CA.pl -newreq-nodes all is ok, but when I start ./CA.pl -newca i see:
Quote:
unable to load CA private key
3074467464:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:467:
3074467464:error:23077074:PKCS12 routines:PKCS12_pbe_crypt:pkcs12 cipherfinal error:p12_decr.c:97:
3074467464:error:2306A075:PKCS12 routines:PKCS12_item_decrypt_d2i:pkcs12 pbe crypt error:p12_decr.c:123:
3074467464:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 lib:pem_pkey.c:132:

I checked this error in google but I don't see solution
Back to top
View user's profile Send private message
saluo
n00b
n00b


Joined: 06 Feb 2008
Posts: 61
Location: Rzeszow

PostPosted: Sun Aug 21, 2011 7:56 am    Post subject: Reply with quote

I uncoment in file evp.h
Code:
ifdef OPENSSL_LOAD_CONF
define OpenSLL_all_all_algorithms() \
OPENSSL_add_all_algorithms_conf()

define SSLeay_add_all_algorithms() OpenSSL_add_all_algorithms()
define SSLeay_add_all_ciphers() OpenSSL_add_all_ciphers()
define SSLeay_add_all_digests() OpenSSL_add_all_digests()

and everything is ok
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Wed Aug 24, 2011 11:54 pm    Post subject: Reply with quote

What are you actually trying to do with OpenSSL?

(From what you say, it looks like you need to provide a password to decrypt a key, or there's a bug in something)

Cheers
Jon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum