OpenSSL

From ArchWiki
Revision as of 08:18, 2 August 2009 by Tiberiur (Talk | contribs) (Created page with ''''Creating a self signed certificate''' Generating the DSA key parameters: openssl dsaparam -rand -genkey -out thekey.key 4096 Next, generating the actual key: openssl gends…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creating a self signed certificate

Generating the DSA key parameters:

openssl dsaparam -rand -genkey -out thekey.key 4096

Next, generating the actual key:

openssl gendsa -aes128 -out ca_key.key thekey.key

Finally wrapping everything up and making the certificate:

openssl req -new -x509 -days 365 -key ca_key.key -out certificate.cert






More details at:

FreeBSD Handbook
OpenSSL HowTo