File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,6 @@ if [ "${success}" = "0" ]; then
3535 exit 1
3636fi
3737
38- # # SMTP also has the same cert
39- echo | openssl s_client -showcerts -servername zulip.example.net -connect localhost:25 -starttls smtp \
40- | openssl x509 -text -noout \
41- | tee cert.pem
42- if ! grep -E " Issuer: CN\s*=\s*Pebble Intermediate CA" cert.pem; then
43- echo " SMTP STARTTLS does not have Pebble-signed certificate!"
44- exit 1
45- fi
46-
4738# # Test renewing -- this should generate and deploy a new certificate
4839serial=$( grep " Serial Number:" cert.pem)
4940" ${docker[@]:? } " exec zulip /usr/bin/certbot renew --force-renew --non-interactive --debug
@@ -54,15 +45,6 @@ if [ "${newserial}" = "${serial}" ]; then
5445 exit 1
5546fi
5647
57- echo | openssl s_client -showcerts -servername zulip.example.net -connect localhost:25 -starttls smtp \
58- | openssl x509 -text -noout \
59- | tee cert.pem
60- smtpserial=$( grep " Serial Number:" cert.pem)
61- if [ " ${newserial} " != " ${smtpserial} " ]; then
62- echo " Serial numbers on HTTPS and SMTP STARTTLS differ after renew"
63- exit 1
64- fi
65-
6648# For simplicity below, we update $serial
6749serial=" $newserial "
6850
You can’t perform that action at this time.
0 commit comments