Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (9 sloc) 0.311 kb
#!/bin/bash
NAME=$1
if [ "$NAME" == '' ]
then
echo "$0 <certificate name>" 1>&2
exit 1
fi
openssl genrsa 1024 | openssl pkcs8 -topk8 -nocrypt -out $NAME.key
openssl req -new -x509 -nodes -sha1 -days 365 -key $NAME.key -out $NAME.cert
Jump to Line
Something went wrong with that request. Please try again.