diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-02-24 13:16:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 13:16:56 +0900 |
commit | 3e8180c793f1dd7437a497ffdb0cf7e919a9a5c3 (patch) | |
tree | 23f834a6ac3eb18da9bf2b18d93f288bdacbf06d /ext/net/02_tls.js | |
parent | f8b73ab97e90f5e4313b0e725fe14d1ee0df01b4 (diff) |
feat(ext/net): support cert, key options in listenTls (#13740)
Diffstat (limited to 'ext/net/02_tls.js')
-rw-r--r-- | ext/net/02_tls.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index 90f395193..86f651521 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -65,7 +65,9 @@ function listenTls({ port, + cert, certFile, + key, keyFile, hostname = "0.0.0.0", transport = "tcp", @@ -73,7 +75,9 @@ }) { const res = opListenTls({ port, + cert, certFile, + key, keyFile, hostname, transport, |