Hello,
we have an issue connecting to HANA WebIDE in a "SAP S/4HANA 2021 Fully-Activated Appliance". Trying to connect to WebIDE over browser is only returning "Internal server error", the same is happening when trying to open hana-cockpit or hana-cockpit-admin from XSA. Looking at the logs in the instance (as hdbadm) we're seeing the following error:
Could not authenticate with UAA: Could not obtain access token: request to UAA at https://<instance>:39032/uaa-security/oauth/token failed, error: Request to UAA failed: certificate has expired (connecting to <instance>:39032)
We tried the approach described in 2866031 https://me.sap.com/notes/0002866031 however, when we try to run "XSA reset-certificate" we get "ERROR: Incomplete HANA environment. The following variables are missing: [SAP_RETRIEVAL_PATH, DIR_EXECUTABLE, DIR_INSTANCE, SAPSYSTEMNAME]".
How do we resolve the original issue of WebIDE not starting? Alternatively, can we fix the XSA "Incomplete HANA environment" error so we can use it to reset the certificate? How?
Link to the appliance: https://cal.sap.com/console/tenant_FM7Z6MRQFNIX#/applianceTemplates/3f4931de-b15b-47f1-b93d-a4267296b8bc
Thank you in advance!
Goran