linkchecker icon indicating copy to clipboard operation
linkchecker copied to clipboard

TLS Support?

Open jeschkec opened this issue 11 years ago • 5 comments

Hi there,

it seems that linkchecker (or the underlying ssl library) doesn't support TLS. I tried to check some links on a host who supports only TLS, but the linkcheck raises an error an aborts:

$ linkchecker -pv https://jhp-consulting.eu/
INFO 2014-11-08 21:22:45,930 MainThread Checking intern URLs only; use --check-extern to check extern URLs.
LinkChecker 9.3              Copyright (C) 2000-2014 Bastian Kleineidam
LinkChecker comes with ABSOLUTELY NO WARRANTY!
This is free software, and you are welcome to redistribute it
under certain conditions. Look at the file `LICENSE' within this
distribution.
Die neueste Version gibt es unter http://wummel.github.io/linkchecker/
Schreiben Sie Kommentare und Fehler an https://github.com/wummel/linkchecker/issues
Unterstütze dieses Projekt unter http://wummel.github.io/linkchecker/donations.html

Beginne Prüfen am 2014-11-08 21:22:45+002

URL             `https://jhp-consulting.eu/'
Tats. URL       https://jhp-consulting.eu/
Prüfzeit        0.128 Sekunden
Ergebnis        Fehler: SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Statistik:
Downloaded: 0B.
Inhalte: 0 Bild, 0 Text, 0 Video, 0 Audio, 0 Anwendung, 0 E-Mail und 1 andere Inhalte.
URL Längen: min=26, max=26, mittel=26

Das war's. 1 link in 1 URL checked. 0 Warnungen gefunden. 1 Fehler gefunden.
Beende Prüfen am 2014-11-08 21:22:46+002 (0.18 Sekunden)

My linkchecker version is

INFO 2014-11-08 21:24:05,049 MainThread Checking intern URLs only; use --check-extern to check extern URLs.
LinkChecker 9.3 released 16.7.2014

It would be really great if you can support TLS.

jeschkec avatar Nov 08 '14 20:11 jeschkec

I believe I bumped into this same issue. Below is the error message I get in linkchecker when accessing an https (TLS 1.0) site.

********** Oops, I did it again. *************

You have found an internal error in LinkChecker. Please write a bug report at https://github.com/wummel/linkchecker/issues and include the following information:

  • the URL or file you are testing
  • the system information below

When using the commandline client:

  • your commandline arguments and any custom configuration files.
  • the output of a debug run with option "-Dall"

Not disclosing some of the information above due to privacy reasons is ok. I will try to help you nonetheless, but you have to give me something I can work with ;) .

Traceback (most recent call last): File "linkcheck\gui\checker.pyo", line 45, in run -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\linkcheck\gui\checker.py -- code not available -- File "linkcheck\director__init__.pyo", line 34, in check_urls -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\linkcheck\director__init__.py -- code not available -- File "linkcheck\director\aggregator.pyo", line 82, in visit_loginurl -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\linkcheck\director\aggregator.py -- code not available -- File "requests\sessions.pyo", line 395, in get -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\requests\sessions.py -- code not available -- File "requests\sessions.pyo", line 383, in request -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\requests\sessions.py -- code not available -- File "requests\sessions.pyo", line 486, in send -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\requests\sessions.py -- code not available -- File "requests\adapters.pyo", line 385, in send -- couldn't find file, trying this instead: C:\Program Files (x86)\LinkChecker\library.zip\requests\adapters.py -- code not available -- SSLError: [Errno 185090050] _ssl.c:344: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib System info: LinkChecker 9.3 Released on: 16.7.2014 Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32 Requests: 2.2.1 Qt: 4.8.6 / PyQt: 4.11 Modules: QScintilla, Sqlite Local time: 2014-11-21 14:58:36+003 sys.argv: ['C:\Program Files (x86)\LinkChecker\linkchecker-gui.exe'] Default locale: ('fi', 'cp1252')

******** LinkChecker internal error, over and out ********

aknackiron avatar Nov 21 '14 13:11 aknackiron

+1 on the request for TLS support.

URL        `https://internalsite.com'
Real URL   https://internalsite.com
Check time 0.209 seconds
Result     Error: SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

"internalsite" supports TLSv1 TLSv1.1 and TLSv1.2

ahrenstein avatar Mar 04 '16 20:03 ahrenstein

+1 on the request for TLS Support:

Real URL https://v10-https-test.staging.internal.co.uk/ Check time 1.306 seconds Result Error: SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

gavinmassey77 avatar Jul 18 '16 12:07 gavinmassey77

There should probably also be a command option to ignore ssl failures on certain urls, so that you can test against a local site without an SSL cert.

karlkfi avatar Oct 28 '16 19:10 karlkfi

Thank you for the issue report. Sadly this project is dead, and a new team is around with https://github.com/linkcheck/linkchecker for more details please see: #708 Also please close this issue and report it freshly on the new repo https://github.com/linkcheck/linkchecker/issues if your issue still persists

dpalic avatar Oct 30 '17 07:10 dpalic