key: fs.readFileSync('server-key.pem'), cert: fs.readFileSync('server-cert.pem'), ca: [ // This is necessary only if the client uses the self-signed certificate. fs.readFileSync('client-cert.pem') ] }
1. server-key.pem 2. server-cert.pem 3. clent-key.pem
Обсуждают сегодня