It doesn't show it, but I expect it would put up an error message if the DoH server's cert is invalid.