Skip to main content

How to create a DSA OpenSSL certificate

·76 words·1 min· ·
General Openssl Dsa Key Public
Ariejan de Vroom
Author
Ariejan de Vroom
Jack of all Trades, Professional Software Craftsman

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!

Related

MacBook Pro: Black Screen of Death (or is it just faking?)
·402 words·2 mins
General Apple Mac Mbp Macbook Pro Death Black
May 14th: RubyFest!
·95 words·1 min
General Rubyfest
warcraft-armory 0.1.0 Released
·94 words·1 min
General Ruby Warcraft-Armory Rubygems