Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl problem #234

Open
borodadada opened this issue Dec 21, 2019 · 0 comments
Open

ssl problem #234

borodadada opened this issue Dec 21, 2019 · 0 comments

Comments

@borodadada
Copy link

borodadada commented Dec 21, 2019

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 borodadada changed the title SSL 3 ca files ssl problem Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant