For SANs certificates, also add a CN for the first domain
This commit is contained in:
parent
5e9d4906ad
commit
758a537a8d
|
@ -153,6 +153,7 @@ EOF
|
|||
done
|
||||
san=$(echo "${san}" | sed 's/^,//')
|
||||
cat "${SSL_CONFIG_FILE}" - > "${config_file}" <<EOF
|
||||
CN=${domains%% *}
|
||||
[SAN]
|
||||
subjectAltName=${san}
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue