From 106755b31a9c5a58091b742cfd7eda63eaa9c507 Mon Sep 17 00:00:00 2001
From: Dave Lawrence
-openssl pkcs12 -in certificate.p12 -out certificate.pem -nodes
openssl pkcs12 -in certificate.p12 -out certificate.pem -nodes -nokeys
-Open the .pem file in a text editor. You can recognise the public key because it starts "BEGIN CERTIFICATE" and ends "END CERTIFICATE" and -has an appropriate friendly name (e.g. "StartCom Free Certificate Member's StartCom Ltd. ID"). It is not the section beginning -"BEGIN RSA PRIVATE KEY", and it is not any of the intermediate certificates or root certificates.
+Open the .pem file in a text editor. You can recognise the public key because +it starts "BEGIN CERTIFICATE" and ends "END CERTIFICATE" and +has an appropriate friendly name (e.g. "StartCom Free Certificate Member's StartCom Ltd. ID"). --Note: the .pem file has your private key in plaintext. Delete it once you have copied the public key out of it!
+Paste the contents of the certificate into the SecureMail text field in [% terms.Bugzilla %].