After you have configured
Silk Central to use a secure web server connection with SSL, enable BIRT reports to work in this environment.
-
Stop the chart server service of the instance you want to configure, using the
Instance Administration page.
-
Use OpenSSL to create a PKCS #12 key store with the following command line:
openssl pkcs12 -export -in ./host.cert -inkey ./host.key > ./host.p12
Example:
openssl pkcs12 -export -in C:/ProgramData/SilkCentral/ssl/host.cert -inkey
C:/ProgramData/SilkCentral/ssl/host.key > C:/ProgramData/SilkCentral/ssl/host.p12
-
Convert the keystore
host.p12 into a Java key store with the following command line:
keytool.exe -importkeystore -srckeystore ./host.p12 -destkeystore ./host.jks -srcstoretype pkcs12
Example:
"C:\Program Files (x86)\Silk\Silk Central
21.\instance_1_silk\lib\jre\bin\keytool.exe"
-importkeystore -srckeystore C:/ProgramData/SilkCentral/ssl/host.p12 -destkeystore
C:/ProgramData/SilkCentral/ssl/host.jks -srcstoretype pkcs12
-
Add the following lines to the chart server's process configuration file
sc_ChartServer.processconfig, located at
C:\Program Files (x86)\Silk\Silk Central 21.0\instance_<instance number>_<instance name>\Conf:
<Service>
<SystemProperties>
...
<SystemProperty name="javax.net.ssl.trustStore" value="<path to host.jks file>" />
<SystemProperty name="javax.net.ssl.trustStorePassword" value="<password>" />
</SystemProperties>
</Service>
Example:
<Service>
<SystemProperties>
...
<SystemProperty name="javax.net.ssl.trustStore" value="C:/ProgramData/SilkCentral/ssl/host.jks" />
<SystemProperty name="javax.net.ssl.trustStorePassword" value="changeit" />
</SystemProperties>
</Service>
-
Restart the chart server service.