devroom.io/drafts/2009-04-19-how-to-create-a-dsa-openssl-certificate.md
Ariejan de Vroom dbae98c4c0 Moar updates
2013-03-24 14:27:51 +01:00

713 B

title kind slug created_at tags
How to create a DSA OpenSSL certificate article how-to-create-a-dsa-openssl-certificate 2009-04-19
General
openssl
dsa
key
public

I just needed an OpenSSL DSA public key. This is not really difficult, you just need to know the right commands. On my Mac I ran the following commands to obtain both private dsa_priv.pem and public dsa_pub.pem keys.

openssl dsaparam 1024 < /dev/random > dsaparam.pem
openssl gendsa dsaparam.pem -out dsa_priv.pem
openssl dsa -in dsa_priv.pem -pubout -out dsa_pub.pem

Needless to say, keep your private key in secure location and make sure you have a backup of it!