Skip to content

Commit 5ab234a

Browse files
committed
ci: Temporarily drop SMTP tests.
1 parent 8b0e96c commit 5ab234a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

ci/certbot/test.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ if [ "${success}" = "0" ]; then
3535
exit 1
3636
fi
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
4839
serial=$(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
5546
fi
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
6749
serial="$newserial"
6850

0 commit comments

Comments
 (0)