Marek Marcola wrote: > 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 95108:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:946: 95108:error:0D06C03A:asn1 encoding routines:ASN1_D2I_EX_PRIMITIVE:nested asn1 error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:628: 95108:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_D2I:nested asn1 error:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:566:Field=version, Type=RSA 95108:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/d2i_pr.c:96: TIA, beno ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]