Setting up a secure connection in Spectrum

Operating System: Windows, Linux, UNIX
Product affected: Spectrum™ Technology Platform

Versions: 8 SP3, 9 SP3, 10 SP1, 11 SP1
There are three parts to setting up Secure Sockets Layer (SSL) communication in Spectrum: the Spectrum server, the client tools, and the Client API.


The Spectrum Documentation Administration Guide provides instructions for configuring the Spectrum server to accept secure connections. Refer to the article How to create a keystore for Spectrum Technology Platform for how to generate a Java keystore (JKS) for Spectrum.

Client Tools

These steps are not necessary if the certificate installed on the Spectrum server is signed by a trusted certification authority (CA) like VeriSign.

Import the certificate into the Windows certificate store. This is required to test with a self-signed certificate from above.
  1. Open Internet Explorer and go to https://<servername>:<ssl-port> to see the Spectrum welcome page.
  2. Click the lock next to your web browser address bar.
  3. Click View Certificates.
  4. Click the Details tab.
  5. Click the Copy to File button at the bottom. Go through the wizard and choose the "DER encoded binary X.509" format. 
Import the resulting certificate into the Windows store by following the below steps:
  1. Click Start > Run.
  2. Type "mmc" and click OK.
  3. Click File > Add/Remove Snap-in
  4. Click Add and find Certificates in the list.
  5. Click Add.
  6. Choose "Computer Account" and "Local computer"
  7. Click Finish.
  8. Then click Close and OK.
  9. Expand the Certificates node on the left
  10. Find Trusted Root Certification Authorities > Certificates.
  11. Right-click on Certificates and choose All Tasks > Import
  12. Go through the wizard and browse to the file exported from your web browser. Make sure it's placed in the Trusted Root Certification Authorities store and finish the wizard.
Spectrum Server has a secure connection with Management Console and Enterprise Designer. 

Client API

If the certificate is signed by a commonly trusted CA, no extra steps are needed. In the client application code, set the Server.CONNECTION_TYPE to "HTTPS" and set the correct port. However, if a self-signed certificate is being used or one that's not signed by a publicly known CA, add that certificate to the trusted CA certificates store for Java.

The default trusted CA store for Java is <JAVA_HOME>/jre/lib/security/cacerts. Either import the certificate directly into this file or make a copy of this file for testing.

To import the certificate, run a command like this:

keytool -keystore mycacerts -storepass changeit -import -alias spectrum -file myIEcert.cer

Where the -file parameter is the name of the certificate file exported from your browser earlier and the value of -keystore is the cacerts file being used. The default password for Java's cacerts store is "changeit". Java will now trust the self-signed certificate. If using a copy of the original cacerts file, add the "<name of cacerts>" option to the java command line, like this:

java -classpath .;g1clientSDK-10.0.jar\sourcecode\java\SpectrumJavaSample\mycacerts SpectrumTestClientApp


If the certificate is signed by a trusted CA, no extra steps are needed. In the client application code, set the Server.CONNECTION_TYPE to "HTTPS" and set the correct port. However, if using a self-signed certificate or one that's not signed by a known CA, follow the steps for importing the certificate into the Windows store, as described above for the Client Tools.

Web Services

There is no single process for this situation since any number of tools can use web services to communicate with Spectrum.  Generally, accessing the WSDL or WADL for a web service is enough for the tool to use a secure connection.  Refer to the documentation for the tool in question for details on using secured connections.

Note:  Make sure you are adding the root certificate of the certificate issuer in the Microsoft Management Console.
UPDATED:  August 2, 2019