Hello,
I am attempting to import a .pfx certificate to a partner profile. However, Trading Networks (TN) only accepts .der, .cer, or .p7b extensions. I attempted to use Windows Cert Manager to import the .pfx and export the Root, Intermediate, and Client certificates to DER encoded binary x.509 (.CER). However, when I attempted to export the private key, the option was greyed out with a note that stated the associated private key is marked as not exportable. I also tried various methods using OpenSSL to convert the .pfx to .der, .cer, or .p7b. Unfortunately, I have had no luck importing the converted file to TN (to a particular partner profile). I encountered various errors such as:
- Certificate chain contains a single certificate, and that certificate is not self-signed: Even though I converted the whole chain to .cer/p7b and tried importing to sign/verify, encrypt/decrypt, and SSL.
- Java Null pointer.
- Cannot convert
byte[][]
toX509Certificate[]
, exception encountered at index 0. CertificateException encountered; Trading Networks cannot convertbyte[]
tojava.security.cert.X509Certificat
- Tried to import .cer that was exported from .pfx.
My end goal is to add the client certificate to the Partner profile.
Help is much appreciated.