[stunnel-users] Problems with Stunnel 4.5*

Ludovic LEVET llevet at ludosoft.org
Mon Dec 12 15:11:02 CET 2011


Hi Mike,

But i have save the same problem than Sebastian with 4.50. I'm not able 
to make decrypt my priv key with any ciphers.

No working :
openssl genpkey -algorithm RSA -aes-128-cbc -pkeyopt 
rsa_keygen_bits:4096 -out key.pem
openssl req -new -x509 -sha384 -key key.pem -verify -out cert.pem
or
openssl genpkey -algorithm RSA -des3 -pkeyopt rsa_keygen_bits:4096 -out 
key.pem
openssl req -new -x509 -sha384 -key key.pem -verify -out cert.pem

Error is :
SSL_CTX_use_PrivateKey_file: 6074079: error:06074079:digital envelope 
routines:EVP_PBE_CipherInit:unknown pbe algorithm



Working (then without encryption passphrase) :
openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out key.pem
openssl req -new -x509 -sha384 -key key.pem -verify -out cert.pem



Ludovic.



Le 12/12/2011 12:51, Michal Trojnara a écrit :
> Ludovic LEVET wrote:
>> Stunnel support only no crypted private key. it can't ask you 
>> passphrase.
>
> Well...  It was true (at least on Windows) until version 4.04 
> (released 12 Jan 2003).
>
> Mike





More information about the stunnel-users mailing list