-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Can't scrape website with bad SSL - invalid certificate: UnknownIssuer #8939
Comments
@Bestulo You can extract the CA certificate from a website public certificate chain: https://unix.stackexchange.com/questions/368123/how-to-extract-the-root-ca-and-subordinate-ca-from-a-certificate-chain-in-linux. This can then feed this into Feel free to reopen if this doesn't solve your issue. |
ty ill try |
It didn't work. I tried these 2 commands that were there
Then I passed the certs like this:
but it's still the same UnknownIssuer error popping up. :/
Is there really no way to bypass this protection? edit: I tried the first anwer but i didn't understand how to get a .pem from them |
Hi. I'm trying to access a wordpress site with bad SSL to get the RSS feed. It's a Venezuelan government site, which are known to have terrible, either self-signed or expired SSL certificates. I won't have access to any
.pem
certificates to pass to--cert
, as is suggested in #2301In terms of security, I run a VPN and the only vuln is a MitM substitution of the RSS feed, and I have a VPN, and realistically, I just don't care about the possibility. This is not a sensitive issue as everything will be double-checked in the end.
Nodejs has the following environment variable:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
This was talkd about in closed issue #2301, but I don't see any conclusion for people who don't have a
.pem
file or are not using Kubernetes.Is there a way to tell Deno to stop interrupting the connection and just go through with it?
The text was updated successfully, but these errors were encountered: