redbird icon indicating copy to clipboard operation
redbird copied to clipboard

ssl problem

Open borodadada opened this issue 4 years ago • 0 comments

Hello, i don't can setup proxy Node js 13.5 Try

Server

    https:{
        key: fs.readFileSync(path.join(__dirname, '../certificate/localhost/', 'key.pem')),
        cert: fs.readFileSync(path.join(__dirname, '../certificate/localhost/', 'site.crt')),
    }

server port 3002, if i open https://localhost:3002 = work

proxy use

let proxy443 = require('redbird')({
    ssl: { // Optional SSL proxying.
        port: 443, // SSL port the proxy will listen to.
        key: '../certificate/localhost/key.pem',
        cert: '../certificate/localhost/cert.pem',
        http2: false, //Optional, setting to true enables http2/spdy support
    }
});

proxy443.register( "localhost", "https://localhost:3002", { ssl: true } )

Always error ERR_SSL_VERSION_OR_CIPHER_MISMATCH not work, what is the problem?

borodadada avatar Dec 21 '19 19:12 borodadada