GerbenJavado / LinkFinder

A python script that finds endpoints in JavaScript files
https://gerbenjavado.com/discovering-hidden-content-using-linkfinder
MIT License
3.61k stars 587 forks source link

Problem "SSL: CERTIFICATE_VERIFY_FAILED" #134

Closed L3V14TH4N closed 1 year ago

L3V14TH4N commented 1 year ago

Hi, I'm having the following problem when running the tool:

sudo python3 linkfinder.py -i https:/// -d

Usage: python linkfinder.py [Options] use -h for help
Error: invalid input defined or SSL error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

Some help?

Archurcl4w commented 1 year ago

Hello the same command you use works for me and no problem having like that in mine. Go the other issue #122
{https://github.com/GerbenJavado/LinkFinder/issues/122} and check for my comment at the last which fixed that problem. Likewise check your code after line no. 132 at linkfinder.py in yours whether it is same as following try: sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) if this what you have then change it to as per my comment in #122

L3V14TH4N commented 1 year ago

It worked perfectly here. Thanks!