Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Conversation

joaquin-corchero
Copy link
Contributor

When creating tests against urls that have self signed certificates tests fail, the error being returned is unable to get local issuer certificate.

A new option rejectUnauthorized can be passed as part of the request object, setting it to false bypasses ssl validations:

"request":{ ... "rejectUnauthorized": false, ...}

on both, hooks and main requests no error related to certificates should be returned.

@coveralls
Copy link

coveralls commented Feb 8, 2018

Coverage Status

Coverage increased (+0.004%) to 94.082% when pulling 2fc41fa on joaquin-corchero:feature/allow-option-for-self-signed-certificates into 651458a on findmypast-oss:master.

@joaquin-corchero
Copy link
Contributor Author

@darArch can you have a look at the PR?

Thank you

@03k64
Copy link
Contributor

03k64 commented Feb 8, 2018

This all looks good, could you do me a favour and merge master back in to see if my changes let the Travis build run successfully, currently I believe it's using misnamed environment variables in the docker_publish.sh file. As soon as we get the build passing I'll get this merged.

@joaquin-corchero
Copy link
Contributor Author

@dararch not in until Monday. Will merge then...

Cheers

@joaquin-corchero
Copy link
Contributor Author

@darArch seems to be having the same behaviour as last week...

@03k64
Copy link
Contributor

03k64 commented Feb 12, 2018

@joaquin-corchero I'm going to merge your changes.

The build is passing all tests and I suspect it is just failing the docker publish step due to being a branch/fork. Thanks for the contribution.

@03k64 03k64 merged commit aeb0cd5 into findmypast-oss:master Feb 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants