https: certificate validation fails when using servername option #1106
Closed
Description
Agent#createSocket()
overwrites options.servername
leading to a tls.checkServerIdentity()
against hostname instead of servername.
I usually disabled connection pooling in that case, but that is not possible anymore as ClientRequest#constructor
always sets an agent.
Not sure if this is intentional; Did I overlook something in the changelog?
Activity