New Edge UI installation problems

In-premise Apigee.

After installing apigee-sso and integrating with ADFS I am still not able to install new edge-ui.

 

[centos@d010223000052 edge-management-ui]$ cat /opt/apigee/var/log/edge-management-ui/edge-management-ui.log
apigee-configutil: edge-management-ui: # OK
apigee-configutil: edge-management-ui: # OK
# in pid 22810, pgrp=22513 -> 22810
2021/10/12 20:33:07 cwc.searchRoot: /opt/apigee/edge-management-ui-4.50.00-0.0.20020
2021/10/12 20:33:07 Read config file: /opt/apigee/edge-management-ui-4.50.00-0.0.20020/conf/uebe.yaml
2021/10/12 20:33:07 Read config file: /opt/apigee/edge-management-ui-4.50.00-0.0.20020/conf/alm.yaml
2021/10/12 20:33:07 Read config file: /opt/apigee/edge-management-ui-4.50.00-0.0.20020/conf/routes.yaml
2021/10/12 20:33:08 static.contentRoot: /opt/apigee/edge-management-ui-static
2021/10/12 20:33:08 found single-file navbar content
2021/10/12 20:33:08 missing SSO configuration: ClientID
2021/10/12 20:33:08 missing SSO configuration: ClientSecret
2021/10/12 20:33:08 configuration errors -- exiting

 

I think this is is about incorrect OAuth2 settings as per:

cat /opt/apigee/edge-management-ui-4.50.00-0.0.20020/conf/alm.yaml
---
# Apigee SSO Config
SSO_DOMAIN: login.e2e.apigee.net
SSO_CLIENT_ID:
SSO_CLIENT_SECRET:
SSO_CALLBACK_URL: https://e2e.apigee.net/oauthCallback
SSO_TOKEN_URL: https://login.e2e.apigee.net/oauth/token
SSO_DEFAULT_URL: https://e2e.apigee.net/
SSO_AUTHORIZATION_URL: https://login.e2e.apigee.net/oauth/authorize
SSO_PUBLIC_KEY_URL: https://login.e2e.apigee.net/token_key
SSO_CSRF_SECRET: secret
SSO_CSRF_EXPIRATION_HOURS: 24
SSO_STRICT_TRANSPORT_SECURITY_AGE_HOURS: 8760
SSO_PUBLIC_KEY_CACHE_HOURS: 0.5[centos@d010223000052 edge-management-ui]$

I don't expect those figures, but I am in doubt that I can modify /opt/apigee/edge-management-ui-4.50.00-0.0.20020/conf/alm.yaml directly

 

 

regards, Victor

0 2 691
2 REPLIES 2

To set SSO_CLIENT_ID and SSO_CLIENT_SECRET in alm.yaml, you need to set following properties in your

configuration file (the file which you used for installing and setting up new UI):-

MANAGEMENT_UI_SSO_CLIENT_ID=<client_id>
MANAGEMENT_UI_SSO_CLIENT_SECRET=<client_secret>

And then run setup command:-

/opt/apigee/apigee-setup/bin/setup.sh -p ue -f <path_to_silent_conf>

 

 

Some of your errors are beacuse you can't access that URLs