]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 07:50:02 01.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 04:50:03 +0000 (07:50 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Fri, 1 May 2026 04:50:03 +0000 (07:50 +0300)
html/AM-GlobalFunc.rsc
html/certs/.#Makefile [deleted symlink]
html/certs/Makefile [new file with mode: 0644]

index 68f30ad63f18074977b2e4533c7213b1d22eca72..85c357e8997dda341fcc008ce94dd194d69cf17c 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/357/13dc1661";
+:global CommitId "main/358/adf4d8cb";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 07:45:02 01.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 07:50:02 01.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
diff --git a/html/certs/.#Makefile b/html/certs/.#Makefile
deleted file mode 120000 (symlink)
index bf238fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-root@amster.16966
\ No newline at end of file
diff --git a/html/certs/Makefile b/html/certs/Makefile
new file mode 100644 (file)
index 0000000..6bedce3
--- /dev/null
@@ -0,0 +1,61 @@
+# Makefile to check certificates
+
+NOIPV6 = true
+
+CURL = curl \
+       --capath /dev/null \
+       --connect-timeout 5 \
+       --output /dev/null \
+       --silent
+
+DOMAINS_DUAL = \
+       api.macvendors.com/GTS-Root-R4 \
+       api.telegram.org/Go-Daddy-Root-Certificate-Authority-G2 \
+       cloudflare-dns.com/SSL-com-Root-Certification-Authority-ECC \
+       dns.google/GTS-Root-RX \
+       dns.quad9.net/DigiCert-Global-Root-G3 \
+       git.eworm.de/Root-YE \
+       gitlab.com/USERTrust-RSA-Certification-Authority \
+       lists.blocklist.de/GTS-Root-R4 \
+       matrix.org/GTS-Root-R4 \
+       raw.githubusercontent.com/ISRG-Root-X1 \
+       rsc.eworm.de/Root-YE \
+       upgrade.mikrotik.com/ISRG-Root-X1
+DOMAINS_IPV4 = \
+       1.1.1.1/SSL-com-Root-Certification-Authority-ECC \
+       8.8.8.8/GTS-Root-RX \
+       9.9.9.9/DigiCert-Global-Root-G3 \
+       api.mullvad.net/ISRG-Root-X1 \
+       ipv4.showipv6.de/ISRG-Root-X1 \
+       ipv4.tunnelbroker.net/Starfield-Root-Certificate-Authority-G2 \
+       mkcert.org/ISRG-Root-X1 \
+       ntfy.sh/ISRG-Root-X1 \
+       www.dshield.org/GTS-Root-R4 \
+       www.spamhaus.org/GTS-Root-R4
+DOMAINS_IPV6 = \
+       [2606\:4700\:4700\:\:1111]/SSL-com-Root-Certification-Authority-ECC \
+       [2001\:4860\:4860\:\:8888]/GTS-Root-RX \
+       [2620\:fe\:\:9]/DigiCert-Global-Root-G3 \
+       ipv6.showipv6.de/ISRG-Root-X1
+
+.PHONY: $(DOMAINS_DUAL) $(DOMAINS_IPV4) $(DOMAINS_IPV6)
+
+all: $(DOMAINS_DUAL) $(DOMAINS_IPV4) $(DOMAINS_IPV6)
+
+$(DOMAINS_DUAL):
+ifndef NOIPV4
+       $(CURL) -4 --cacert $(notdir $@).pem https://$(dir $@)
+endif
+ifndef NOIPV6
+       $(CURL) -6 --cacert $(notdir $@).pem https://$(dir $@)
+endif
+
+$(DOMAINS_IPV4):
+ifndef NOIPV4
+       $(CURL) -4 --cacert $(notdir $@).pem https://$(dir $@)
+endif
+
+$(DOMAINS_IPV6):
+ifndef NOIPV6
+       $(CURL) -6 --cacert $(notdir $@).pem https://$(dir $@)
+endif