feat: secure tls with server issued certificate

This commit is contained in:
Florent Beauchamp
2022-06-16 09:27:24 +02:00
parent 2307dc4cbe
commit 47977a278d

View File

@@ -61,8 +61,7 @@ export default class NbdClient {
{
socket: this.#client,
rejectUnauthorized: false,
// Support XS <= 6.5 with Node => 12
minVersion: 'TLSv1',
cert: this.#cert,
},
resolve
)