Change ssl-gen utility to take in common name

This commit is contained in:
Kelvin Chen 2015-11-08 17:54:01 -05:00
parent bf73c75653
commit 3f460ea41d
1 changed files with 1 additions and 1 deletions

View File

@ -5,5 +5,5 @@
mkdir -p /config/frontend mkdir -p /config/frontend
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \ openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \
-subj "/C=SB/ST=Seedbox/L=Seedbox/O=Seedbox/CN=*" \ -subj "/C=SB/ST=Seedbox/L=Seedbox/O=Seedbox/CN=$1" \
-keyout /config/frontend/ssl.key -out /config/frontend/ssl.crt -keyout /config/frontend/ssl.key -out /config/frontend/ssl.crt