How to enable SSL in the Apigee Edge OPDK 4.15.01 UI

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:

  1. Generate your SSL keystore. We prefer JKS.

  2. Using the script //apigee4/bin/ui-configure-ssl.sh, you can configure SSL on the UI.

  3. 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 .

  4. 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. 

1 Like

Hi @jhunt@apigee.com

Could you please provide similar steps to configure TLS for bass portal? Thank you.

For 4.16.01 configuration file goes to following file:

//apigee/etc/edge-ui.d/SSL.sh instead of //apigee4/conf/ui/https-key.conf