Description | This article describes how to change the certificate FortiOS presents to clients utilizing DoT. |
Scope | FortiOS v7.0,7.2,7.6. |
Solution |
For administrators utilizing a FortiGate to proxy DNS over TCP requests, it may be desired to modify the certificate FortiOS presents to clients in case the users are configured to check this.
Example Standard Configuration:
config system dns
Note that 'ssl-certificate' will only be used by FortiOS as the client certificate when communicating with the DNS server. It will not change the certificate presented to a client in case of a DNS proxy. This can be validated. Assuming an interface listening for DNS requests on the address 10.1.1.1 :
user@server:~ $ openssl s_client 10.1.1.1:853 .....
The correct place to change this would be: config web-proxy global -> ssl-cert.
FortiGate (global) # show
After this modification, the change can be validated:
user@server:~ $ openssl s_client 10.1.1.1:853
Note: config web-proxy global -> ssl-cert. This certificate overlaps with the certificate FortiOS presents for the authentication portal. There is no separate certificate at this time and may be changed in a future update. |