-
Notifications
You must be signed in to change notification settings - Fork 202
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
https connections to servers with self-signed certificates #69
Comments
Hello, the same topic was discussed here: Solution that worked for me: Another possible solution can be found here: Best wishes |
Awesome. Glad you found the solution! |
This doesn't seem like a resolution to me. Frisby should be able to handle this. |
Frisby v0.x uses the request library, and passes all the options down to it. So Frisby supports this via request options. Request SSL options are here: e.g. frisby.post('http://example.com', {field: 'value'}, {
cert: fs.readFileSync(certFile),
key: fs.readFileSync(keyFile),
passphrase: 'password',
ca: fs.readFileSync(caFile)
}); |
I set serverURL to http://localhost:8081/parse and it solved the problem. My parse is deployed to AWS Beanstalk, and port 8081 is what Beanstalk uses to run node server. The client side serverURL is still using https. |
@vlucas your example works for me, thanks, but is there a way to include this in the globalSetup? I tried the obvious things and they didn't work for me. |
Hello,
I am facing the problem that secure https connections to servers with domains that have self-signed certificates always end up in code 500 errors:
Message:
Expected 500 to equal 200
TCPDump shows up an reset flag in the connection.
If I connect to https servers with domains that have certificates signed from CA's everything wents fine.
I already installed my own CA certificate on my Debian server into the local certificate store. So wget and other programs do not make any trouble.
Any hints on that?
Best wishes
Michael
The text was updated successfully, but these errors were encountered: