Only HTTP connections work via the AWI Jetty Launcher?
AWI Jetty client runs fine when using HTTP port 80
When we update configuration.properties and set it to the following to activate HTTPS, we an error in the Jetty log:
http.enabled=false
https.enabled=true
https.port=8443
https.keystore.filename= xxxx
https.keystore.password= xxxx
https.manager.password= xxxx
Error in AWI log file <Jetty>\osgi-tmp\0\<hostname>_ECC_LOG.00.txt:
2022-06-27 09:24:34,159 4aC:\Automic\Automation.Platform\WebInterface\osgi-tmp\00b-8ab5-fdba202ebb27 [INFO ] NOLOGIN/- NOUI [com.uc4.ecc.jetty.JettyServerLauncher] - HTTP not enabled
2022-06-27 09:24:34,160 4a0b-8ab5-fdba202ebb27 [WARN ] NOLOGIN/- NOUI [com.uc4.ecc.jetty.JettyServerLauncher] - Keystore not found. ssl not enabled.
Release : 21.0.2
Component : AWI / Jetty
The path to the keystore is not found because backslashes are not correctly interpreted
With the following configuration using the existing AE keystore, it works:
Using the same certificate used in ucsrv.ini (as an example):
KEYSTORE=keystore.p12
KEYSTOREPASSWORD=automic
KEYPASSWORD=automic
KEYALIAS=automic
Copy the AE Keystore keystore.p12 to the AWI config folder "C:\Automic\Automation.Platform\WebInterface\config"
Update <Jetty>\config\configuration.properties
Configuration.properties:
defaultHomeDashboard=WELCOME.DASHBOARD
parameter_login.enabled=true
http.port=8080
http.enabled=false
https.enabled=true
https.port=7443
https.keystore.filename=keystore.p12
https.keystore.password=automic
https.manager.password=automic
Leave the certificate in place but use backslashes to escape the backslashes:
Configuration.properties:
defaultHomeDashboard=WELCOME.DASHBOARD
parameter_login.enabled=true
http.port=8080
http.enabled=false
https.enabled=true
https.port=7443
https.keystore.filename= C:\\Automic\\Automation.Platform\\Automation.Engine\\bin\\keystore.p12
https.keystore.password=automic
https.manager.password=automic
Restarted the awi service from service manager
2022-06-27 09:34:02,788 4978-86d2-087a80acc2da [INFO ] NOLOGIN/- NOUI [com.uc4.ecc.jetty.JettyServerLauncher] - HTTP not enabled
2022-06-27 09:34:05,852 4978-86d2-087a80acc2da [INFO ] NOLOGIN/- NOUI [com.uc4.ecc.jetty.JettyServerLauncher] - JettyServerLauncher started at: https://blrbdl002701-01:7443/awi