PcheckServerIdentity
Bun

property

https.AgentOptions.checkServerIdentity

checkServerIdentity?: (hostname: string, cert: PeerCertificate) => undefined | Error