PcheckServerIdentity
Bun

property

tls.BunConnectionOptions.checkServerIdentity

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