-
Notifications
You must be signed in to change notification settings - Fork 67
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 error #100
Comments
Heya - looking at the GitBeaker docs it mentions that you can use the NODE_EXTRA_CA_CERTS to inject your own certs. Could you try adding |
Thank you, it seems to start with that option and the interface shows "indexing in progress...". [backend] | 2024-12-02T15:55:45.880Z info: [main] Cloning gitlab.mydomain.com/group/repo.git... |
Tried also with "-e NODE_TLS_REJECT_UNAUTHORIZED='0'" with no success |
The approach of simple-git in case of self-signed certificates is basically to ignore them: steveukx/git-js#626 |
So, I've resolved the certificate problem mounting the hosts trusted certificates into the container:
Maybe it's worth to add to the documentation? |
Nice thanks for listing your solution - agreed that we should add docs for this, I will try to get to it soon. Just so I understand more: mounting |
Hi,
|
Hi, I'm trying to use sourcebot for indexing a self-hosted instance.
When I start the docker image it immediately stop with this error:
while debug is active, it's not very clear to me which certificate it's complaining about (I suppose it doesn't like my gitlab instance has a self-signed certificate, also I am behind a proxy) and how can I inject my certificates or eventually ignore them.
Is there a way to do it?
Thanks
The text was updated successfully, but these errors were encountered: