Community discussions

MikroTik App
 
User avatar
shalak
newbie
Topic Author
Posts: 41
Joined: Sat Aug 24, 2019 11:47 am

DoH certificate verification issue - re-check needed to work after init

Tue Oct 19, 2021 2:31 am

I'm provisioning my hap ac2 with a initial script (via reset-configuration no-defaults=yes keep-users=yes run-after-reset=flash/myscript) and it does the following:
...
/certificate import file-name=flash/DigiCertGlobalRootCA.crt.pem passphrase=""
/ip dns set allow-remote-requests=yes use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes
...
Unfortunately, when the router boots up, the DNS resolution does not work. However, if I go to GUI and uncheck, apply and then check the "Verify DoH Certificate" back and apply again - it works properly.

What am I missing? Or is this a known issue?

Who is online

Users browsing this forum: Bing [Bot], giovanni, Guntis, qatar2022, sch and 92 guests