Generating Java Keystore for Connect Web Server (COWS)

This is not supported in Sinch Contact Pro on-premise.

Installing Connect Web Server (COWS) always requires the Java Keystore. Import the same certificate as is used in Agent Server as the Internal Server Certificate.

Procedure

  1. Open a Command Prompt window: Start > Run and then run the command cmd.
  2. Run mmc.
  3. Choose File > Add/Remove Snap-in…

    The Add or Remove Snap-in window opens.

  4. Choose Certificates and click Add.

    A wizard opens.

  5. Select Computer account and click Next.

  6. Select Local computer: (the computer this console is running on) and click Finish.

  7. Click OK.

  8. Right-click the certificate and choose All Tasks > Export.

    The Certificate Export Wizard window opens.

  9. Click Next.

  10. Select Yes, export the private key and click Next.

  11. Select Personal Information Exchange - PKCS #12 (.PFX) and Include all certificates in the certification path if possible and then click Next.

  12. Enter the password [password]and click Next.

  13. Choose the place where you save the file and enter the file name cert.pfx and click Next.

  14. Click Finish.

  15. Go to Command Prompt to generate the file and run the following command:

    keytool -importkeystore -srckeystore cert.pfx -srcstoretype pkcs12 -destkeystore keystore -deststoretype JKS

  16. To change the alias created by the keytool, do the following:

    1. Get the current alias by running the following command:

      keytool -list -keystore keystore

    2. Copy the alias from the list and place it in the command below.

    3. To replace the alias, run the following command:

      keytool -changealias -alias "[copy the alias here]" -destalias "[HTTPSSERVER]" -keystore keystore

After installing the COWS virtual unit, place keystore file into the folder /certificates/keystore under the virtual unit where COWS is installed.