Encrypt HTTPS Communication with Browser

This procedure applies to both the Command Center and Enterprise Command Center, with some minor differences. Please replace occurrences of <Keystore path>, <Keystore filename> and <Tomcat config> with the respective entries listed below.

Component Command Center Enterprise Command Center
Keystore path /opt/sdconsole/ssl/ /opt/ecc/ssl/
Keystore filename sd_keystore_web.pkcs12 keystore.pkcs12
Tomcat config /opt/sdconsole/tomcat/conf/server.xml /opt/ecc/tomcat/conf/server.xml

Why this keystore has a different name: sd_keystore_web.pkcs12 (Command Center) / keystore.pkcs12 (Enterprise Command Center) is a new file you create, separate from the keystore eyeInspect uses by default (sd_keystore.pkcs12 / sd_ecc_keystore.pkcs12). Editing only the Tomcat configuration file (<Tomcat config>) to point at this new file changes only the certificate presented to browsers; it leaves the default keystore completely untouched. For Command Center, this means your Passive Sensor fleet keeps trusting the existing certificate. For Enterprise Command Center (which never connects to Passive Sensors directly), this instead means its trust of the Command Centers it manages keeps working undisturbed. Use this procedure when you only need to replace the browser-facing certificate. If you also need to replace the certificate trusted by Sensors, use the next section, Encrypt Communication with Browser, Command Center, and Sensors.

That section applies to Command Center only.

The Java keystore (pkcs12 format) stores the following items:

  1. The Root Certification Authority certificate
  2. The Intermediate Certificate Authority certificate (if applicable)
  3. Certificate of the Command Center appliance
  4. The private key of the Command Center certificate

The Tomcat configuration file specifies the location to the Java keystore to be used:

<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" keystoreFile="<Keystore path>/<Keystore filename>"

These instructions assume the following items are available:

  • Certificate for Command Center
  • Private key for the Command Center certificate
  • Certificate of the Certification Authority (CA) which signed the Command Center certificate
  • If the Command Center certificate has been signed by an Intermediate CA, the full chain of trust is required, e.g., both the signing Intermediate CA and the Root CA certificates
  • Access to the console of the Command Center appliance
  • Custom Certificates, including CA certificates and Private Key files, are already transferred to the Command Center host

Placeholder Definition
signing_ca_cert.crt Filename of the certificate of the CA which signed the Command Center certificate
root_ca_cert.crt Filename of the certificate of the Root CA (if the Command Center certificate was signed by an Intermediate CA)
command center fqdn/san name The fully qualified domain name as used in DNS and URLs (Subject Name or Subject Alternative Name is part of the certificate)
cc_cert.pem Filename of the certificate for Command Center
cc_key.pem Filename of the private key for the Command Center certificate
At this point communications between Command Center and Passive Sensors (or, for Enterprise Command Center, between Enterprise Command Center and the Command Centers it manages) are encrypted by different certificates stored in a different java keystore located in `/etc/default/silentdefense-cc` (or `/etc/default/silentdefense-ecc`).