I - Adding the certificates
=> The generated keystore file will be located in C:\Program Files\Java\jdk1.8.0_144\bin. You can move it to anywhere you want.
1/ Go to C:\Program Files\Java\jdk1.8.0_144\bin
2/ Open CMD and Issue this command: keytool -keystore keystore -alias jetty -genkey -keyalg RSA
3/ Type in 2 password and other required information.
For additional information as well as information on adding certificates see https://www.eclipse.org/jetty/documentation/9.4.x/configuring-ssl.html.
After creating the key pairs and signing the certificate, the certificate must be stored on the server (e.g.: as a PEM file in X.509 format) using a browser or a suitable key management program and the certificate must be loaded into the trustedstore of the Java environment on the machine.
II - Update parameter in the Automation Engine configuration file (ucsrv.ini)
In the [REST] section,
keystore=C:\Program Files\Java\jdk1.8.0_144\bin\keystore (wherever you keep this keystore file)
keystorePassword=changeit (the password that you typed in step I - 3 )
keyPassword=changeit (the password that you typed in step I - 3 )
III - Start JCP as normal
+ Start the JCP via the command line:
java -Xmx512M -jar ucsrvjp.jar -IC:\temp\ucsrv.ini -rest
The file "ucsrvjp.jar" is provided in the same directory as the other Automation Engine files. It is used exclusively to start the JWP and JCP.
+ The JCP can also be started via ServiceManager:
java -Xmx512M -jar ucsrvjp.jar -Iucsrv.ini -svc%port% -rest