notmuch/test/smime/README

10 lines
381 B
Text
Raw Permalink Normal View History

test.crt: self signed certificated
% gpgsm --gen-key # needs gpgsm 2.1
key+cert.pem: cert + unencryped private
% gpgsm --import test.crt
% gpgsm --export-private-key-p12 -out foo.p12 (no passphrase)
% openssl pkcs12 -in ns.p12 -clcerts -nodes > key+cert.pem
ca.crt: from https://tools.ietf.org/id/draft-dkg-lamps-samples-01.html#name-certificate-authority-certi