I imported S/MIME test certificates from Centrum and I had to import the intermediate CA manually via
Code: Select all
zmcertmgr addcacert /tmp/im.pem
I then tried to repack the p12 with the intermedia CA as follows:
Code: Select all
$ openssl pkcs12 -in centrum.p12 -out test.pem -nodes
$ # manually split the resulting test.pem in test.crt and test.key
$ cat test.crt intermediate.pem > cert.crt
$ openssl pkcs12 -export -in cert.crt -inkey test.key -out test.p12
- How can I enforce to add the intermediate CA to outgoing mails?
- How can I remove the intermediate CA once added with addcacert? There is no removecacert and I want to test if it works if the P12 already includes the intermediate CA
Andreas