mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02:00
certs: split checks for dual, ipv4 & ipv6...
... and check both if available.
This commit is contained in:
parent
aa294b4c67
commit
fcb5347e33
1 changed files with 34 additions and 14 deletions
|
@ -1,32 +1,52 @@
|
|||
# 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 \
|
||||
CURL = curl \
|
||||
--capath /dev/null \
|
||||
--connect-timeout 5 \
|
||||
--output /dev/null \
|
||||
--silent
|
||||
|
||||
DOMAINS_DUAL = \
|
||||
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 \
|
||||
matrix.org/GTS-Root-R4 \
|
||||
raw.githubusercontent.com/DigiCert-Global-Root-G2 \
|
||||
rsc.eworm.de/ISRG-Root-X2 \
|
||||
upgrade.mikrotik.com/ISRG-Root-X1
|
||||
DOMAINS_IPV4 = \
|
||||
1.1.1.1/DigiCert-Global-Root-G2 \
|
||||
8.8.8.8/GTS-Root-R1 \
|
||||
9.9.9.9/DigiCert-Global-Root-G3 \
|
||||
api.mullvad.net/ISRG-Root-X1 \
|
||||
feodotracker.abuse.ch/GlobalSign \
|
||||
ipv4.showipv6.de/ISRG-Root-X1 \
|
||||
ipv4.tunnelbroker.net/Starfield-Root-Certificate-Authority-G2 \
|
||||
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
|
||||
DOMAINS_IPV6 = \
|
||||
[2606\:4700\:4700\:\:1111]/DigiCert-Global-Root-G2 \
|
||||
[2001\:4860\:4860\:\:8888]/GTS-Root-R1 \
|
||||
[2620\:fe\:\:9]/DigiCert-Global-Root-G3 \
|
||||
ipv6.showipv6.de/ISRG-Root-X1
|
||||
|
||||
.PHONY: $(DOMAINS)
|
||||
.PHONY: $(DOMAINS_DUAL) $(DOMAINS_IPV4) $(DOMAINS_IPV6)
|
||||
|
||||
all: $(DOMAINS)
|
||||
all: $(DOMAINS_DUAL) $(DOMAINS_IPV4) $(DOMAINS_IPV6)
|
||||
|
||||
$(DOMAINS):
|
||||
curl --output /dev/null --silent --connect-timeout 5 --capath /dev/null --cacert $(notdir $@).pem https://$(dir $@)
|
||||
$(DOMAINS_DUAL):
|
||||
$(CURL) -4 --cacert $(notdir $@).pem https://$(dir $@)
|
||||
$(CURL) -6 --cacert $(notdir $@).pem https://$(dir $@)
|
||||
|
||||
$(DOMAINS_IPV4):
|
||||
$(CURL) -4 --cacert $(notdir $@).pem https://$(dir $@)
|
||||
|
||||
$(DOMAINS_IPV6):
|
||||
$(CURL) -6 --cacert $(notdir $@).pem https://$(dir $@)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue