Closed bgabler closed 8 years ago
Save your GitLab server's CA cert in PEM format as ca.yourdomain.com.crt
and run:
keytool -import -file ca.yourdomain.com.crt -keystore truststore.jks s -storepass password -trustcacerts -noprompt
(The password can be insecure as this is just a CA cert).
This will generate a Java trust store file, truststore.jks
containing the CA cert.
Then, when running the proxy, append the following options:
-Djavax.net.ssl.trustStore='/path/to/truststore.jks' -Djavax.net.ssl.trustStorePassword='password'
Alternatively, instead of using creating your own trust store, you can find out if your OS's built-in truststore works instead (as you are not using a self-signed cert). For example on CentOS 7, this is at: /etc/pki/java/cacerts
..
What OS are you using?
Hope this helps!
Ah!
You are correct. We had to import our CA bundle.
Everything is working great now!
We're using an SSL certificate on our gitlab install and the proxy does not seem to like it. It's an SSL certificate from comodo so it's not self signed.
We get the following error: