Marek Marcola wrote: > You should cat real PEM encoded cert and key. > I assume from what you write I should create a pem file out of the crt file:
server167# openssl base64 -d -in mrtablecloth-vi.com.crt | openssl rsa -inform der > mrtablecloth-vi.com.crt.pem However, when I try that, I get this error: unable to load Private Key 93906:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/tasn_dec.c:946: 93906: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: 93906: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 93906:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/asn1/d2i_pr.c:96: Why can't it load the key? Here's a list of what's in the dir: 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 and that private.key fit the description you gave. After I successfully run the above command, assuming that's what I'm supposed to do, I presume I then run a command like this: server167# cat private.key.pem mrtablecloth-vi.com.crt.pem > mrtablecloth-vi.com.cat.pem TIA, beno ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]