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

Allow tls skip verify option #114

Open
EinAeffchen opened this issue Oct 25, 2022 · 2 comments
Open

Allow tls skip verify option #114

EinAeffchen opened this issue Oct 25, 2022 · 2 comments

Comments

@EinAeffchen
Copy link

I am currently in a situation where I have to create an ssh tunnel to deploy eggs via the scrapyd client, which causes me to deploy through localhost and in turn leads to this error:

Deploy failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:997)>

It would be great if I could just set tls_skip_verify in the scrapy.cfg and deploy anyways.

@jpmckinney
Copy link
Contributor

Can you show the full stack trace?

@EinAeffchen
Copy link
Author

I actually already build a solution to add more keys to the scrapy.cfg to bypass tls verification for tunneling through ssh. Because of that I can't recreate the stack trace anymore, but that was basically all the error I got anyways.
Just try to tunnel via ssh to your scrapyd server with ssl active and you will get the certificate error :)

As soon as I figure out how, I can submit a pull request for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants