tls: allow empty subject even with altNames defined · nodejs/node@89e2c71 · GitHub
Skip to content

Commit 89e2c71

Browse files
jasonmacgowanaddaleax
authored andcommitted
tls: allow empty subject even with altNames defined
Behavior described in #11771 is still true even though the issue is closed. This PR is to allow DNS and URI names, even when there is not a subject. Refs: #11771 PR-URL: #22906 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 6322611 commit 89e2c71

2 files changed

Lines changed: 28 additions & 10 deletions

File tree

lib/tls.js

Lines changed: 14 additions & 10 deletions

test/parallel/test-tls-check-server-identity.js

Lines changed: 14 additions & 0 deletions

0 commit comments

Comments
 (0)