OpenSSL – Public Certificate and Private key

privatekey -> openssl genrsa [-out filename] [-passout arg] [-des] [-des3] [-idea] [-f4] [-3] [-rand file(s)] [numbits]

public certificate -> $ openssl req -new -x509 -nodes -sha1 -days 365 -key host.key > host.cert

Advertisements

Published by

Shafiq Alibhai

http://shafiq.in

One thought on “OpenSSL – Public Certificate and Private key”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s