File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ generate_temp_cert () {
13
13
-sha256 \
14
14
-days 3650 \
15
15
-nodes \
16
- -out ${1} .crt \
16
+ -out ${1} /fullchain .crt \
17
17
-keyout ${1} .key \
18
18
-subj " /C=NA/ST=NA/L=NA/O=NA/OU=NA/CN=${2} "
19
19
@@ -56,6 +56,5 @@ setup_ssl () {
56
56
57
57
# create self-signed certificate so nginx will start before we request proper certificates
58
58
generate_temp_cert ${CERT} ${DOMAIN_NAME}
59
- generate_temp_cert ${FULLCHAIN} ${DOMAIN_NAME}
60
59
61
60
}
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ source ${INC}/check.sh
16
16
_echo "Requesting SSL certificates..."
17
17
for D in "${!DOMAINS[@]}" ; do
18
18
_echo " - ${D}"
19
- /etc/ssl/getssl -U -w ${SSL_CERTS} ${D}
19
+ /etc/ssl/getssl -U -w ${SSL_CERTS} ${D} || _error "Unable to request certificate for ${D}."
20
20
done
21
21
_done
You can’t perform that action at this time.
0 commit comments