I have encountered a problem in converting from pfx to p12 format.
Using OpenSSL 9.7, I was able to convert the certificate to PEM format
openssl pkcs12 -in foo.pfx -out foo.pem
Foo.pem is created but it is a format I did not recognize and sketched
below. I attempted to create the P12 using
openssl pkcs12 -in foo.pem -out foo.p12 -name 'server.mydomain.com'
2340:error:0E0680A8:asn1 encoding routines: ASN1_CHECK_TLEN: wrong tag:
.\crypto\asn1\tasn-dec:946:
2340:error:0D07803A:asn1 encoding routines: ASN1_ITEM_EX_D2I nested asn1
error: .\crypto\asn1\ tasn_dec.c:304:TYPE=PKCS12
Does anyone have ideas on how I can proceed?
Thanks,
Dave Haug
Bag Attributes
1.2.6.1.4.1.31.17.2:<No Values>
...
Microsoft CSP Name:...
Key Attributes
X509v3 Key Usage: 10
----- BEGIN RSA PRIVATE KEY ----
ProcType:4, Encrypted
DEK-Info: DES-EDE3-CBC,...
... encoded ....
----- END RSA PRIVATE KEY -----
Busy Attributes
Subject=...
Issuer=....
----- BEGIN CERTIFCATE -----
.....
----- END CERTIFICATE -----
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]