Skip to content
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

SSL自签证书问题(SSL self-signed) #15

Open
ted423 opened this issue Sep 11, 2022 · 1 comment
Open

SSL自签证书问题(SSL self-signed) #15

ted423 opened this issue Sep 11, 2022 · 1 comment

Comments

@ted423
Copy link

ted423 commented Sep 11, 2022

There was an error during auth_log_in: APIConnectionError('Failed to connect to qBittorrent. This is likely due to using an untrusted certificate (likely self-signed) for HTTPS qBittorrent WebUI. To suppress this error (and skip certificate verification consequently exposing the HTTPS connection to man-in-the-middle attacks), set VERIFY_WEBUI_CERTIFICATE=False when instantiating Client or set environment variable PYTHON_QBITTORRENTAPI_DO_NOT_VERIFY_WEBUI_CERTIFICATE to a non-null value. SSL Error: SSLError(MaxRetryError("HTTPSConnectionPool(host='', port=): Max retries exceeded with url: /api/v2/auth/login (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))"))')

看起来在这里

# VERIFY_WEBUI_CERTIFICATE = False,

由于用的podman,不太清楚要怎么动手,webui里看起来也没有设置项

@ted423
Copy link
Author

ted423 commented Sep 11, 2022

这个报错是来自QB本身的返回值么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant