1
0
forked from bip/bip
bip/scripts/make_cert.sh
2006-11-15 16:18:56 +00:00

9 lines
280 B
Bash
Executable File

#!/bin/sh
openssl req -new -x509 -days 365 -nodes \
-config make_cert.cnf -out bip.pem -keyout bip.pem
#RANDOM_FILE=/dev/urandom
#openssl gendh -rand $(RANDOM_FILE) 512 >> bip.pem
#openssl gendh 512 >> bip.pem
openssl x509 -subject -dates -fingerprint -noout -in bip.pem