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

Cannot test HTTPS URLs on travis #140

Closed
Floppy opened this issue Jan 7, 2015 · 3 comments
Closed

Cannot test HTTPS URLs on travis #140

Floppy opened this issue Jan 7, 2015 · 3 comments

Comments

@Floppy
Copy link
Contributor

Floppy commented Jan 7, 2015

I'm guessing Travis boxes have some missing certificates or something, but links that pass locally fail there with something like:

External link https://democracyclub.org.uk/ failed: 0 Peer certificate cannot be authenticated with given CA certificates

See https://travis-ci.org/Floppy/floppy.github.io/builds/46205870 for an example.

Perhaps an option to disable SSL verification might help?

@Floppy
Copy link
Contributor Author

Floppy commented Jan 7, 2015

Ignore me, I think I can fix this with the Typhoeus options. Sorry!

@Floppy Floppy closed this as completed Jan 7, 2015
@Floppy
Copy link
Contributor Author

Floppy commented Jan 7, 2015

Yes, that's right. For the benefit of google, my configuration was:

HTML::Proofer.new("./_site", ssl_verifypeer: false).run

@parkr
Copy link
Contributor

parkr commented Nov 19, 2015

Thanks for adding that benefit for Google, @Floppy! Were you able to fix it without removing SSL verification?

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

2 participants