Hello,
> > You should convert your private key to PEM format too.
> > This error is probably because certificate is read as RSA key.
> > Convert both files to PEM (files with ---- BEGIN header),
> > cat both files to one file and use in your configuration.
> >   
> Same thing:
> 
> server167# ls
> mrtablecloth-vi.com.cat.pem     mrtablecloth-vi.com.csr.bak    
> private.key.bak
> mrtablecloth-vi.com.crt         mrtablecloth-vi.com.pem        
> private.key.pem
> mrtablecloth-vi.com.crt.bak     mrtablecloth-vi.com.pem.bak     test
> mrtablecloth-vi.com.crt.pem     mrtablecloth-vi.com.pem_BAK
> mrtablecloth-vi.com.csr         private.key
> server167# mv private.key private.key_BAK
> server167# openssl base64 -d -in private.key_BAK | openssl rsa -inform
> der > private.key
> writing RSA key
> server167# openssl base64 -d -in mrtablecloth-vi.com.crt | openssl rsa
> -inform der > mrtablecloth-vi.com.crt.pem
> unable to load Private Key
x509 parameter, not rsa.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to