mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-07-30 07:24:27 +02:00
Only remove specific certificates
This commit is contained in:
parent
3aea72c190
commit
75ee7e60fd
4 changed files with 10 additions and 10 deletions
|
@ -13,12 +13,12 @@
|
|||
/ip dns set verify-doh-cert=no
|
||||
|
||||
# Quad9 uses DigiCert like CloudFlare.
|
||||
:local result [ /tool fetch url=http://crt.usertrust.com/USERTrustECCAddTrustCA.crt dst-path=ssl.pem as-value ];
|
||||
:local result [ /tool fetch url=http://crt.usertrust.com/USERTrustECCAddTrustCA.crt dst-path=nextdns.pem as-value ];
|
||||
:do { :delay 2s } while=( $result->"status" != "finished" )
|
||||
|
||||
/certificate remove [find]
|
||||
/certificate import file-name=ssl.pem passphrase=""
|
||||
/file remove ssl.pem
|
||||
/certificate remove [find name~"nextdns.pem"]
|
||||
/certificate import file-name=nextdns.pem passphrase=""
|
||||
/file remove nextdns.pem
|
||||
|
||||
/ip dns
|
||||
static remove [find name="dns.quad9.net"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue