aboutsummaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-09-02 22:54:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-09-04 11:55:02 +0200
commit9737bfa46ad5b08f39ba0442061d08e974cb14c5 (patch)
treed8bf28307017b62dc128c17fd12a94ccd3639419 /certs
parent21fa46fdf6720cf3ec57980e29b4da9cf2e0f46d (diff)
certs: add poor man's check 😜
Diffstat (limited to 'certs')
-rw-r--r--certs/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/certs/Makefile b/certs/Makefile
new file mode 100644
index 0000000..2e6ac9d
--- /dev/null
+++ b/certs/Makefile
@@ -0,0 +1,31 @@
+# Makefile to check certificates
+
+DOMAINS = \
+ 1.1.1.1/DigiCert-Global-Root-G2 \
+ 8.8.8.8/GTS-Root-R1 \
+ 9.9.9.9/DigiCert-Global-Root-G3 \
+ api.macvendors.com/GTS-Root-R4 \
+ api.mullvad.net/ISRG-Root-X1 \
+ api.telegram.org/Go-Daddy-Root-Certificate-Authority-G2 \
+ cloudflare-dns.com/DigiCert-Global-Root-G2 \
+ dns.google/GTS-Root-R1 \
+ dns.quad9.net/DigiCert-Global-Root-G3 \
+ feodotracker.abuse.ch/GlobalSign \
+ git.eworm.de/ISRG-Root-X2 \
+ ipv4.showipv6.de/ISRG-Root-X1 \
+ ipv4.tunnelbroker.net/Starfield-Root-Certificate-Authority-G2 \
+ ipv6.showipv6.de/ISRG-Root-X1 \
+ lists.blocklist.de/Certum-Trusted-Network-CA \
+ mkcert.org/ISRG-Root-X1 \
+ ntfy.sh/ISRG-Root-X1 \
+ sslbl.abuse.ch/GlobalSign \
+ upgrade.mikrotik.com/ISRG-Root-X1 \
+ www.dshield.org/ISRG-Root-X1 \
+ www.spamhaus.org/GTS-Root-R4
+
+.PHONY: $(DOMAINS)
+
+all: $(DOMAINS)
+
+$(DOMAINS):
+ curl --output /dev/null --silent --connect-timeout 5 --cacert $(notdir $@).pem https://$(dir $@)