Closed
Description
The API doc says it's an array (link):
subjectaltname
<Array> (Optional) An array of names for the subject, an alternative to the subject names.
But there's an example below those docs that shows a string:
subjectaltname: 'DNS:*.nodejs.org, DNS:nodejs.org',
When I use TlsSocket.getPeerCertificate()
myself, I get a string.