Apigee Edge OPDK 4.15.01 upgrades the UI code to Play 2. With that change, we also introduced a script to assist in enabling SSL on the UI. To do this:
-
Generate your SSL keystore. We prefer JKS.
-
Using the script //apigee4/bin/ui-configure-ssl.sh, you can configure SSL on the UI.
-
Once you have run the ui-configure-ssl.sh script the configuration will be entered in the file under //apigee4/conf/ui/https-key.conf .
-
Try to hit your UI: https://:>: and you should be getting to the management interface via SSL.
Here is an example run of the ui-configure-ssl.sh script.
[root@standalone bin]# ./ui-configure-ssl.sh
Configuring HTTPS for UI services
Enter UI HTTPS port: 9443
Do you want to disable HTTP y/n (y):
Enter SSL keystore algorithm (JKS):
Enter SSL keystore absolute file path: /opt/apigee4/conf/ui/mykeystore.jks
Enter SSL keystore password:
Enter SSL keystore password for verification:
cp: `/opt/apigee4/conf/ui/mykeystore.jks' and `/opt/apigee4/conf/ui/mykeystore.jks' are the same file
Configuring HTTPS for UI
HTTPS for UI successfully configured
Restarting UI service
Shutting down Apigee UI: Success
Starting Apigee UI: Success
Checking if apigee-ui is up.
.Connection to 192.168.56.102 9443 port [tcp/*] succeeded!
Success
apigee-ui is up.