Fixed ssl
parent
2782b5abd3
commit
bc8b769514
|
@ -73,7 +73,7 @@ if ! sudo /usr/bin/openssl req -new -sha256 -reqexts SAN \
|
|||
-key "${SSL_CONFIG_DIR}/${username}/${hostname}/server.key" \
|
||||
-out "${SSL_CONFIG_DIR}/${username}/${hostname}.csr" \
|
||||
# -config "${SSL_CONFIG_DIR}/${username}/${hostname}.cnf"
|
||||
-addext "${san}"
|
||||
-addext "${san}" \
|
||||
-subj "/O=${SSL_ORG}/OU=${username}/CN=${hostname}.${username}.${TLD}" \
|
||||
>>"${LOGFILE}" 2>&1; then
|
||||
printf 'Failed to generate %s/%s/%s.csr\n' "${SSL_CONFIG_DIR}" "${username}" "${hostname}" >>"${LOGFILE}"
|
||||
|
|
Loading…
Reference in New Issue