Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
@klacke
7 lines (6 sloc) 0.268 kB
#!/bin/sh
umask 077 && touch host.key host.cert host.info host.pem
openssl genrsa 2048 > host.key
openssl req -new -x509 -nodes -sha1 -days 3650 -key host.key > host.cert
openssl x509 -noout -fingerprint -text < host.cert > host.info
cat host.cert host.key > host.pem
Jump to Line
Something went wrong with that request. Please try again.