Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id168993686
Content column
id168993688
Content block
id168993685

On this page

Table of Contents
maxLevel4

Content block
id168993687

By default, Web Application Platform is installed with SSL certificates. If needed, you can change the existing SSL certificate file with a new one as described in the section below.

Creating an SSL certificate file

Follow the steps bellow to create an SSL certificate file that you can later add to Web Application Platform.


To create the SSL certificate file


  1. Go to the <web_app_platform_installation_directory>\bin directory and open to edit the certgen.bat file (for Windows) or certgen.sh file (for Linux).
  2. In the "%KEYTOOL_EXE%" lines (for Windows) or "$KEYTOOLCMD" lines (for Linux), change the default values of the -storepass and -keypass properties to your custom password. Both values must be the same.
  3. Run the certgen.bat file (for Windows) or certgen.sh file (for Linux) as administrator to generate an SSL certificate.


Changing the SSL certificate file

You can change the default SSL certificate file that comes with Web Application Platform installation as described below.


To change the SSL certificate file


  1. Go to the <web_app_platform_installation_directory>\conf directory and open to edit the server.xml file.
  2. In the server.xml file, change the default values of the following properties to the actual path to certificate file and password:
    • certificateKeystoreFile="<path_to_certificate_file>"
    • certificateKeystorePassword="<password>"

    Warning
    titleImportant

    If you have created the SSL certificate file as described in the above section, the certificateKeystorePassword property value must be the same as the -storepass and -keypass property values that you specified when creating the SSL certificate.

  3. Save and close the server.xml file.
  4. Restart Web Application Platform.

Changing to a CA certificate

You can also change the default certificate to a certificate signed by trusted certificate authorities (CA). For changing the self-signed certificate to a CA certificate, visit Changing SSL certificate page.