linkcheck
linkcheck copied to clipboard
unable to connect to https://localhost
The only message is "connection failed". It's a self-signed certificate, for other similar utilities I have to turn off certificate checking in some fashion. I can crawl the live public version of the same site, which has a valid cert, so I'd guess that's some part of the problem.
Hmm, I don't think there's much linkcheck
can do here. From its own perspective, it's merely connecting to a server (it doesn't know it's a localhost one). I'll have to investigate if there's a way to switch off certificate checking on some low level API.
Can you link to the other tools you use and how they allow you to disable certificate checking?
I only mean things like wget which has a --no-check-certificate flag. I think what you've said sounds correct, that it depends on what options there are in whatever is managing the HTTP request. That it's localhost has no significance, particularly, that's just a common example of a site that wouldn't - couldn't - have a valid certificate.
On Fri, Sep 7, 2018 at 5:14 PM Filip Hracek [email protected] wrote:
Hmm, I don't think there's much linkcheck can do here. From its own perspective, it's merely connecting to a server (it doesn't know it's a localhost one). I'll have to investigate if there's a way to switch off certificate checking on some low level API.
Can you link to the other tools you use and how they allow you to disable certificate checking?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/filiph/linkcheck/issues/21#issuecomment-419596921, or mute the thread https://github.com/notifications/unsubscribe-auth/ABLWyh9rt8i9m-3Yh69ofufPJITt4XYHks5uYwvIgaJpZM4Wd3iB .
+1 for a solution to this if you can think of one. It should be possible to turn off cert checking, or specify a particular cert as trusted. (Otherwise, linkcheck is fantastic, and I thank you for your great work.)