If your TeamForge server uses https and a self-signed SSL certificate, you may get a Java error while connecting to TeamForge. To resolve this, you need to import the server certificate into the keystore of the JVM running the CCF Master.
-
Get a copy of the TeamForge server certificate from your web browser.
-
Access your site using a web browser and double-click on the padlock icon (available in most browsers) to examine the server certificate.
-
Export the certificate to a file, and save it as <server>.cer.
There is usually an option somewhere in the resulting dialogs that lets you do this.
-
Locate the Java keystore.
This is at jre/lib/security/cacerts in the location where you installed Java.
-
Locate the Java keytool utility.
This is at /bin/keytool in the location where you installed Java.
-
Import the server certificate into the keystore.
On Linux:
On Windows:
For server, enter the hostname, not URL.
-
At the password prompt, enter changeit.
Confirm that you trust the certificate by typing
yes.
-
Restart the CCF Master server.
You should be able to connect to the TeamForge site.