View previous topic :: View next topic |
Author |
Message |
saluo n00b
Joined: 06 Feb 2008 Posts: 61 Location: Rzeszow
|
Posted: Sat Aug 20, 2011 10:35 pm Post subject: CA.pl newca error |
|
|
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 |
|
|
saluo n00b
Joined: 06 Feb 2008 Posts: 61 Location: Rzeszow
|
Posted: Sun Aug 21, 2011 7:56 am Post subject: |
|
|
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 |
|
|
gerdesj l33t
Joined: 29 Sep 2005 Posts: 622 Location: Yeovil, Somerset, UK
|
Posted: Wed Aug 24, 2011 11:54 pm Post subject: |
|
|
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 |
|
|
|