Set up a new KeyStore/TrustStore
To set up a new KeyStore and TrustStore, follow the steps given below.
Note: This procedure
overrides the Web Services' default KeyStore/Trustore settings.
- Navigate to following directory:
$CDWS_installation_directory/mftws/BOOT-INF/classes
- Run the updateSSLParams.jar and enter the following details:
Enter K for keystore or T for TrustStore update: Enter the complete path of KeyStore/TrustStore: <including fileName(.jks)> Enter the password: <Enter the password of the keystore > Enter the key to encrypt password: <Enter the key which will be used to encrypt the password >
After setting up the KeyStore and TrustStore, modify the Connect:Direct Web Console application.properties file.
- To update the application.properties file navigate to following
directory:
% cd $Installation_directory/mftws/BOOT-INF/classes
- Edit application.properties file and change the value server.ssl.key-alias with <Label of Certificate> used by Connect:Direct Web Server.
- Issue the following commands depending on environment type.
- In Windows environment, Stop and Start CDWebServices service from from Task manager for changes to take into effect.
- In UNIX environment, issue the following command to Stop and Start CDWebServices service:
% ./$CDWS_INSTALLATION_DIR$/bin/stopWebservice.sh % ./$CDWS_INSTALLATION_DIR$/bin/startWebservice.sh