My setup
- Windows 11 Pro
- Xampp (php 8.2.12)
- pfSense router acting as my DNS server
- with standard DNS (port 53) and DoT (853) available
- DoT is using self-signed certs
- NetDNS2 v2.0.8
the issue
The following code relaxes the certificate rules for DoT but they do not work for DoH so I cannot test my local DoH server that uses self-signed cert or check DoH responses redirections.
$r->tls_context = [ 'verify_peer' => false, 'verify_peer_name' => false ];
feature request
can you add a method to relax the cURL certificate requirements.
// Disable SSL certificate verification (NOT recommended for production)
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Skip verifying the peer's certificate
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); // Skip verifying the host name
Thanks
My setup
the issue
The following code relaxes the certificate rules for
DoTbut they do not work forDoHso I cannot test my localDoHserver that uses self-signed cert or checkDoHresponses redirections.feature request
can you add a method to relax the
cURLcertificate requirements.Thanks