mirror of
https://github.com/sirtoobii/vaultwarden_ldap_sync.git
synced 2026-04-27 04:55:52 +03:00
[GH-ISSUE #1] SSL certificate from own CA #3
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden_ldap_sync#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fe3lApAcUt on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/sirtoobii/vaultwarden_ldap_sync/issues/1
Hey
I receive an error when starting docker with the following message:
2023-11-03:16:51:48 ERROR [sync.py] Something went wrong. Error: HTTPSConnectionPool(host='xx.domain.loc', port=443): Max retries exceeded with url: /admin/users (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))We have our own internal CA and need to provide the root certificate to the docker I think.
Can this be done in you project?
BR Marcel
@sirtoobii commented on GitHub (Nov 4, 2023):
Hey,
Yes this should theoretically be possible without changing the code (untested):
REQUESTS_CA_BUNDLEenv var to you bind mounted CA bundle inside the container.@Fe3lApAcUt commented on GitHub (Nov 6, 2023):
Thanks, @sirtoobii! This is working.
Here is what I did:
log showed:
2023-11-06:08:18:29 INFO [sync.py] Starting...
2023-11-06:08:18:29 INFO [sync.py] DRYRUN: True
2023-11-06:08:18:29 INFO [sync.py] LDAP server: xxx.xxx
2023-11-06:08:18:29 INFO [sync.py] Vaultwarden url: https://vw.xxx.xxx
2023-11-06:08:18:29 INFO [sync.py] Invite user xxx@xxx.ch
BR Marcel