Hi guys,
I have an existing GPG key pair that I need to be able to support through Lutus Notes as an internet certificate for mail signing.
I have my public key linked in my sig but I need to be able to sign with my own key generated with gpg and Notes seems to only allow me to import the .pfx format - pkcs #12.
I have done some searching but am drawing a blank on how to take my existing gpg keys and make a .pfx file I can import into Lotes.
I believe that openSSL can do it:
Code:
Exporting PEM Files to PKCS12 Key Stores
Use the openssl pkcs12 tool to export a certificate/key pair to a pkcs12 store. Assume that you have a key (x.key) and a certificate (x.cert). The first step is to have both of them in a single file (x.pem). Then export the pair to a pkcs12 keystore (x.pfx).
%cat x.cert x.key > x.pem
%openssl pkcs12 -export -in x.pem -out x.pfx
but I'm not sure that I can provide openSSL with the necessary input key files since they are made with gpg.
Suffering the usual brain fade with wrangling these concepts.
Basically I can see I have a public key ring
Code:
.gnupg stardotstar$ gpg --list-sigs
/Users/stardotstar/.gnupg/pubring.gpg
and private
Code:
.gnupg stardotstar$ gpg -K
/Users/stardotstar/.gnupg/secring.gpg
but this is clearly not the format that openSSL needs and I am not sure what tool I would need to make the .pfx cert.
Any ideas guys?
TIA
Will