Is your feature request related to a problem? Please describe.
I'd like to make an HTTPS request to a server that uses a self-signed certificate that follows the DANE protocol (Wikipedia)
Describe the solution you'd like
I believe the best option would be an extra option on HTTPS request:
https.get('https://example.com', {dane: true})
Describe alternatives you've considered
I tried to create a new https.Agent that forces rejectUnauthorized: false;
Then, I got the tlsSocket instance in the keylog event and added a listener for the secureConnect event;
This moment I realised that the DNS api don't have a resolveTLSA.
Not sure how to continue from here.
Is your feature request related to a problem? Please describe.
I'd like to make an HTTPS request to a server that uses a self-signed certificate that follows the DANE protocol (Wikipedia)
Describe the solution you'd like
I believe the best option would be an extra option on HTTPS request:
Describe alternatives you've considered
I tried to create a new
https.Agentthat forcesrejectUnauthorized: false;Then, I got the
tlsSocketinstance in thekeylogevent and added a listener for thesecureConnectevent;This moment I realised that the DNS api don't have a
resolveTLSA.Not sure how to continue from here.