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

CERTIFICATE_VERIFY_FAILED running wlc #514

Closed
2 tasks done
sschimmel opened this issue Nov 15, 2023 · 3 comments
Closed
2 tasks done

CERTIFICATE_VERIFY_FAILED running wlc #514

sschimmel opened this issue Nov 15, 2023 · 3 comments
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.

Comments

@sschimmel
Copy link

sschimmel commented Nov 15, 2023

Describe the issue

When running wlc I get an SSL error stating the certificate verification failed.

My Weblate installation is running on a server with a valid ssl certificate. Accessing the API using e.g. Chrome or Postman works.

I've installed certifi and ran the Install\ Certificates.command I've found while searching for a solution. The error when running wlc remains.

Running the WLC docker image results in the same error.

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

Run wlc list-projects

Expected behavior

Working API output

Screenshots

Full output:

wlc --url https://..../api list-projects
Request failed: HTTPSConnectionPool(host='....', port=443): Max retries exceeded with url: /api/projects/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')))

Exception traceback

No response

Additional context

No response

@nijel
Copy link
Member

nijel commented Nov 15, 2023

Giving your error to Google gives me this:

“Unable to get Local Issuer Certificate” is a common SSL certificate error. It is related to the incomplete certificate chain such as (most commonly) missing the intermediate certificate or missing the root certificate authority (CA) certificate in its trusted certificate store.

Is your webserver configured correctly to serve intermediate certificate as well? The browser might already have it from elsewhere, but it won't apply to command line tools like wlc.

@nijel nijel added the question This is more a question for the support than an issue. label Nov 23, 2023
Copy link

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

Copy link

github-actions bot commented Dec 7, 2023

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Dec 7, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.
Projects
None yet
Development

No branches or pull requests

2 participants