Merge pull request #2630 from yixingjia/fixcommonname

Fix common name issue.
This commit is contained in:
Yan 2017-06-26 23:15:58 -07:00 committed by GitHub
commit 73c44723f5

View File

@ -22,7 +22,7 @@ openssl req \
# Generate a Certificate Signing Request
openssl req \
-newkey rsa:4096 -nodes -sha256 -keyout $IP.key \
-out $IP.csr -subj '/C=CN/ST=PEK/L=Bei Jing/O=VMware/CN=Harbor CA'
-out $IP.csr -subj '/C=CN/ST=PEK/L=Bei Jing/O=VMware/CN=HarborManager'
# Generate the certificate of local registry host
echo subjectAltName = IP:$IP > extfile.cnf