Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.md
fooserver-ssl.crt.pem
fooserver-ssl.csr
fooserver-ssl.key.orig.pem
fooserver-ssl.key.pem

README.md

How to create a self-assigned ssl key / certificate pair

openssl genrsa -des3 \
  -out fooserver-ssl.key.orig.pem 2048 # or 1024

openssl req \
  -subj '/C=US/ST=Utah/L=Provo/CN=www.example.com' \
  -new -key fooserver-ssl.key.orig.pem \
  -out fooserver-ssl.csr

openssl rsa \
  -in fooserver-ssl.key.orig.pem \
  -out fooserver-ssl.key.pem

openssl x509 -req \
  -days 365 \
  -in fooserver-ssl.csr \
  -signkey fooserver-ssl.key.pem \
  -out fooserver-ssl.crt.pem

Resources:

Something went wrong with that request. Please try again.