Skip to content

Commit 65e88e5

Browse files
committed
tests fix checkpoint.
1 parent 3853314 commit 65e88e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/certbot/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if [ "${success}" = "0" ]; then
3636
fi
3737

3838
## SMTP also has the same cert
39+
echo "EHLO localhost" | nc localhost 25
3940
echo | openssl s_client -showcerts -servername zulip.example.net -connect localhost:25 -starttls smtp \
4041
| openssl x509 -text -noout \
4142
| tee cert.pem
@@ -47,6 +48,7 @@ fi
4748
## Test renewing -- this should generate and deploy a new certificate
4849
serial=$(grep "Serial Number:" cert.pem)
4950
"${docker[@]:?}" exec zulip /usr/bin/certbot renew --force-renew --non-interactive --debug
51+
"${docker[@]:?}" exec zulip cat /var/log/letsencrypt/letsencrypt.log
5052
getcert | tee cert.pem
5153
newserial=$(grep "Serial Number:" cert.pem)
5254
if [ "${newserial}" = "${serial}" ]; then

0 commit comments

Comments
 (0)