You are not logged in.
Pages: 1
For Tomcat follow any of these links -
X-ServiceBroker uses a local java keystore to store certificates it uses for it's connectors and their SSL connections, this is located in the file X-ServiceBroker/resource/sxi.jks. The Keystore is protected with a password of "The default SXI animal password"
Typically one would want to add new certificates to this keystore as new connectors are used or URL's changed, to do this, one would use the java Keytool utility, located in the java/bin directory.
The certificates:
For a new connector, you would typically be given 2 certficates (sometimes 3). These would be:
The private certificate - this is the main certificate with the full URL and details
Intermediate certificate (wont always have this one) - Links the root and private certificate
Root certificate - issued by the certificate authority
Installing the certificates into the keysyore:
Copy the keystore file (sxi.jks) to the java/bin directory (purely to make relative paths and filenames easier)
Then run the following commands:
keytool -import -alias root -keystore sxi.jks -trustcacerts -file nameOfRootCerFile.cer
keytool -import -alias inter -keystore sxi.jks -trustcacerts -file nameOfIntermediateCertificateFile.cer (If such certificate is given)
keytool -import -alias private -keystore sxi.jks -file nameOfPrivateCertficateFile.cer
The alias is just the name of the certificate in the keystore, this can be anything as long as it is unique and doesn't conflict with an existing certificate
When prompted for a password, use "The default SXI animal password"
After the following the above steps, the certificates should be imported into the keystore and ready for use, all that's left is to copy the keystore back to X-ServiceBroker/resource/ and restart the X-ServiceBroker
Offline
Please view the following short video to see step by step how to extract a cert from a url using chrome.
Offline
X-EventCollector
X-EventCollector uses the cacerts keystore found in the C:\Program Files\SXI\jre\lib\security directory.
to update the cacerts keystore using a .pfx file.
extract the public key certificate from the .pfx file, using a tool called OpenSSL
From a cmd prompt, run the following command (from the openssl install directory)
openssl pkcs12 -in certname.pfx -nokeys -out cert.pem
Import the public key into the cacerts file
Copy cacerts from C:\Program Files\SXI\jre\lib\security directory to C:\Program Files\SXI\jre\bin
Paste cert.pem into C:\Program Files\SXI\jre\bin
Using cmd, run the following commands (from the SXI\jre\bin derectory)
keytool -import -alias root -keystore cacerts -trustcacerts -file cert.pem
keytool -import -alias inter -keystore cacerts -trustcacerts -file cert.pem
keytool -import -alias private -keystore cacerts -trustcacerts -file cert.pem
(password for cacerts is "changeit")
Move cacerts file back to C:\Program Files\SXI\jre\lib\security directory
Restart X-EventCollector
Offline
There is a simpler way to import a certificate for XLayer
Copy the certificate.pfx file to C:\Program Files\SXI\X-ServiceBroker\resource
Inside the C:\Program Files\SXI\jre\bin directory run the following
keytool.exe -importkeystore -srckeystore ..\..\X-ServiceBroker\resource\certificate.pfx -srcstoretype pkcs12 -destkeystore ..\..\X-ServiceBroker\resource\sxi.jks -deststoretype JKS
Next you will be asked for a Destination password: This is the password for SXI.JKS
Then you will be asked for a Source keystore password: This is the password given to you by the person supplying the certificate
Enter and you should see the following
Import command completed: 1 entries successfully imported, 0 entries failed or cancelled
Offline
Pages: 1