Certificate management

1. Create a certificate

Create a certificate beneath Server ->Server settings ->Certificate.

You need to be logged on as the System user.

2. Set up HTTPS on the physical server

If using the web server Tomcat do the following:
1. Open the file server.xml. It is located beneath sitevision/server/conf/server.xml

2. Find the following code string:

Skärmdump på kodstycke
3. Remove the commenting of the paragraph beneath this line and type port 443 instead of 8443.
Skärmdump på port 443
4. Save
5. Restart the service

3. Test

Verify that you can browse to the website via https://

4. Convert certificate from other formats (e.g Apache, IIS)

If you have a certificate in a different format it can be converted with the help of OpenSSL.  You will need the certificate file and the file with the private key. Use the following guide in order to convert a certificate so that it can be used in SiteVision:

Convert a certificate from file to Tomcat-format:

openssl pkcs12 -export -in mycert.crt -inkey privatekey.key ?out mykeystore.p12 ?name tomcat

convert certificate from IIS to Tomcat-format:

  • Choose properties for the website in the IIS-configuration
  • Click on the tab "Directory Security"
  • Select "View Certificate"
  • Click on the tab "Details"
  • Click on "Copy to File..."
  • Choose "Yes, export the private key"
  • Choose "Personal Information Exchange - PKCS #12 (.PFX)", "Include all certificates in the certification path if possible" samt "Enable strong protection"
  • Choose a password and destination for the file
The you edit the file server.xml according to note 2), but with the following addition:

<Connector port ="443"  
 ... keyStoreType="PKCS12" keystoreFile="/<sökväg till filen>/mykeystore.p12" keystorePass="<lösenord för keystore>"/>

In order to see the server object you need to be logged in as the System user.

Denna sida publicerades: 2016-03-08

Skriv ut PDF-avsnitt

Hjälpte informationen på den här sidan dig?

Missa inga nya rön, tips och tricks! Prenumerera på insite!

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro

Info: +46 19-17 30 30
Support: +46 19-17 30 39

Latest Tweets