persepolisdm / persepolis

Persepolis is a download manager written in Python.
https://persepolisdm.github.io
GNU General Public License v3.0
6.32k stars 656 forks source link

Is there any option to allow self signed certificate? #1015

Open elico opened 2 months ago

elico commented 2 months ago

System Details:

Log File: 2024-09-09 02:12:23,944 - Persepolis - ERROR - Connection error - HTTPSConnectionPool(host='DOMAINS', port=443): Max retries exceeded with url: /downloads/Ahsoka.S01.COMPLETE.1080p.DSNP.WEB-DL.DDP5.1.H.264-NTb%5bTGx%5d/Ahsoka.S01E02.Part.Two.1080p.DSNP.WEB-DL.DDP5.1.H.264-NTb.mkv (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')))

2024-09-09 02:12:23,944 - Persepolis - INFO - persepolis_lib is closed!

2024-09-09 02:12:23,974 - Persepolis - ERROR - Download failed - GID : 860264cca1ec444c- Message : Connection error

Issue Description and steps to reproduce: I need an option for the download manager to either rely on windows Root CAs or to allow other options.

alireza-amirsamimi commented 2 months ago

Hello from edit menu select preferences. In preferences window click on "Download options" tab. Check "Don't use certificate to verify the peers".

image