Openssl

From Attie's Wiki
Revision as of 22:29, 16 September 2012 by Attie (Talk | contribs)

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

Make a certificate

# create a self-signed (insecure,unencrypted) certificate
openssl req -x509 -nodes -days 365 \
  -newkey rsa:1024 -keyout mycert.pem -out mycert.pem

Command line server

openssl s_server -cert mycert.pem -accept 443

Command line client

openssl s_client -connect localhost:443

Tip: Use the -quiet option to get rid of all the garbage

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox