Skip to content

Commit

Permalink
Added Gandi's SMTP servers to tests/test_ca-certs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Dec 16, 2024
1 parent a7520cc commit a5b1b13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_ca-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ for host in \
www.gandi.net \
deb.debian.org
do
echo "[*] Testing HTTPS for \`${host}'"
openssl s_client -connect "${host}":443 -verify_return_error -CAfile "${ca_file}" -showcerts 0</dev/null || exit 1
echo -n $'\n'
done

# Mail servers
Expand All @@ -43,9 +45,13 @@ for host in \
outlook-com.olc.protection.outlook.com \
mta7.am0.yahoodns.net \
mail.cwo.com \
mail.protonmail.ch
mail.protonmail.ch \
spool.mail.gandi.net \
fb.mail.gandi.net
do
echo "[*] Testing SMTP STARTTLS for \`${host}'"
openssl s_client -connect "${host}":25 -starttls smtp -verify_return_error -CAfile "${ca_file}" -showcerts 0</dev/null || exit 1
echo -n $'\n'
done

rm -v "${ca_file}"

0 comments on commit a5b1b13

Please sign in to comment.