Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 268 Bytes
#!/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.