-
Notifications
You must be signed in to change notification settings - Fork 45
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
Option to ignore SSL Certificate Errors #22
Comments
No need to use a self signed cert. There's plenty of certificate authority management scripts in the wild that one could create their own CA to secure GitLab. Generally, insecure SSL only provides confidentiality but no checking of identity. i.e. anyone could man in the middle you and you wouldn't know. I'm not saying it shouldn't be an option. But I personally avoid in general running insecure services (disabling identity checking is insecure). |
I had the same problem although we had a valid signed server certificate. Maybe it has something to do with proxy settings, eg. the gitlab api can not check against authorities, because it has no knowledge about our proxy. Our gitlab is internal. |
This is something that is definitely necessary for internal instances of GitLab. As it stands, I have been unable to use https for this connector since we self sign all of our certificates, and it appears that the connector doesn't work at all over http. |
Also, I have a handy set of scripts of which you can use to create a certificate authority and manage certificates. |
I plan to simplify those scripts further so that they work on OS X. Right now they only work on Linux. It's mainly because of the differences in BSD and GNU |
I found a way to use a self-signed certificate. You must create a keystor.jks with your organization-gitlab cert and add in the eclipse.ini the javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword parameters. my eclipse.ini: -startup |
Is this still necessary regarding the development with lets encrypt? |
Yes, because the server is not always available from outside the company LAN, which is a requirement of Let's encrypt. The solution provided by @jorge-mikitiuk is a nogo, because the newly created keystore does not contains all needed certs for other usages: You cannot install any package from market place. Is there a way to IGNORE the certificate somewhere ? Maybe this option could be configurable from the mylyn-gitlab preferences ? Thanks ! |
In some cases, such as when using self-signed certificates, it may be helpful to be able to ignore cert errors.
Jenkins' GitLab plugin has such an option, for example, and I think it uses the same Java library:
When connecting with such a self-signed cert right now, I simply get:
The text was updated successfully, but these errors were encountered: