-
-
Notifications
You must be signed in to change notification settings - Fork 33k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
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.
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.