Hosted TeamForge and ScrumWorks Pro instances use self-signed SSL certificates. To convince your Java environment to accept these certificates, import them into the JVM certificate keystore
Note: Contact CollabNet Support or your account manager to get the certificates for your hosted ScrumWorks Pro and TeamForge sites.
-
Get a copy of the 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.
-
Set the JAVA_HOME environment variable to point to the JVM used by CCF.
- On Windows: set JAVA_HOME=C:\some\path
- On OSX: export
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
- On Linux: export JAVA_HOME=/some/path/to/java
-
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:
-
$ export PATH=$JAVA_HOME/bin:$PATH
-
$ sudo keytool -import -trustcacerts -alias
<server> -file <server>.cer -keystore
$JAVA_HOME/jre/lib/security/cacerts
On Windows:
-
keytool -import -trustcacerts -alias <server>
-file <server>.cer -keystore
%JAVA_HOME%/jre/lib/security/cacerts
For server, enter the hostname, not URL.
-
At the password prompt, enter changeit.
Confirm that you trust the certificate by typing
yes.
Tip: For more information, including an example of a command line session,
see the
Secure Access wiki.