From 74e2984f9cf1c22ba3a9f62cb9a7cb21b7a8392c Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Thu, 17 Nov 2016 18:39:17 +0800 Subject: [PATCH] modify msg of certificate --- tools/ova/script/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ova/script/config.sh b/tools/ova/script/config.sh index 6cf2487e5..2c702c73d 100755 --- a/tools/ova/script/config.sh +++ b/tools/ova/script/config.sh @@ -52,11 +52,11 @@ function genCert { then openssl req -newkey rsa:4096 -nodes -sha256 -keyout $ca_key \ -x509 -days 365 -out $ca_cert -subj \ - "/C=US/ST=California/L=Palo Alto/O=VMware/OU=CA/CN=CA" + "/C=US/ST=California/L=Palo Alto/O=VMware, Inc./OU=Harbor/CN=Self-signed by VMware, Inc." fi openssl req -newkey rsa:4096 -nodes -sha256 -keyout $key \ -out $csr -subj \ - "/C=US/ST=California/L=Palo Alto/O=VMware/OU=Harbor/CN=$hostname" + "/C=US/ST=California/L=Palo Alto/O=VMware, Inc./OU=Harbor/CN=$hostname" if [ "$isFQDN" = false ] then echo "Add subjectAltName = IP: $hostname to certificate"