OPDK - How to manually update UI credentials for accessing Management APIs

In pre-4.15.01 versions of OPDK, use the following command to create the credential string so the UI can authenticate with the Management APIs. This might be necessary in cases where a sysadmin password or email address was changed.

java -cp /opt/apigee4/share/ui/conf:/opt/apigee4/share/play/framework/lib/commons-codec-1.4.jar:/opt/apigee4/share/ui/precompiled/java utils.EncryptUtil <admin>:<pw> 

Then, update the apigee.mgmt.credential property in ${APIGEE_DIR}/ui/conf/apigee.conf with the returned string and restart the UI manually.

Comments
atoombs
Staff

For OPDK 15.01, the command is slightly different:

java -cp /opt/apigee4/share/ui/conf:/opt/apigee4/share/ui/lib/enterpriseui.enterpriseui-4.15.01.00-76032c8-20150114-120655.jar:/opt/apigee4/share/ui/lib/commons-codec.commons-codec-1.9.jar utils.EncryptUtil <user>:<pass>
atoombs
Staff

On 4.17.01, the process has changed slightly. Do the following:

java -cp "/opt/apigee/edge-ui/conf:/opt/apigee/edge-ui/lib/*" utils.EncryptUtil <user>:<pass>

Then, you will need to update the returned string in the customer configuration file:

vim /opt/apigee/customer/application/ui.properties

Add the following line:

conf_apigee_apigee.mgmt.credential="<STRING_RETURNED_FROM_ABOVE>"

Then:

chown apigee:apigee /opt/apigee/customer/application/ui.properties
apigee-service edge-ui restart
Not applicable

@Floyd - hey you might want to check this article out. Private Cloud External Ldap Integration

atoombs
Staff

Thanks for that, @akinadiyil

remeeshnair
Bronze 1
Bronze 1

@Alex Toombs any changes for this in 18.XX versions?

Version history
Last update:
‎03-13-2015 07:25 AM
Updated by: