
You cannot login to the SAP Cloud Connector page due to user authentication failed. You cannot locate the password and you wanted to reset it to a new one.

Solution
Open Windows services, double click on SAP Cloud Connector. Click on stop to bring down the SAP Cloud Connector. Take note on the path to executable, which is the location of your SAP Cloud Connector.

Now, with the above location, go to config folder and open tomcat-server and users (XML file) with notepad. Please backup the users file first before you perform the changes.

- With tomcat-server file, you will determine which hash is used, either SHA1 or SHA-256.
- If it’s a single line of SHA1, then it’s SHA1.
- If it’s a multiple line with both SHA1 and SHA-256, then it’s SHA-256 (like below example)
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" digest="SHA-256" digestEncoding="UTF-8" X509UsernameRetrieverClassName="com.sap.scc.tomcat.utils.SccX509SubjectDnRetriever"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" digest="SHA-1" X509UsernameRetrieverClassName="com.sap.scc.tomcat.utils.SccX509SubjectDnRetriever"/>
- Now, with the users file. Replace the password with below,
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="admin"/>
<group groupname="initial"/>
<user username="Administrator" password="B932dD8A84ABDCERGDKSD654gy149653ADD875554543FADF50B1C" roles="admin"/>
</tomcat-users>
- SHA1
- 3F282FCBA8933E03A65A6DC92A27DE8396961E2F
- SHA-256
- 181229424893BB65D94A74C2132B8B9E5ADFE851464FDB5CB9F49E8A8204BE7B
Save the file and start the SAP Cloud Connector. Now, login to the SAP Cloud Connector with user Administrator and default password manage.
Alternatively, you can refer to the steps as in SAP Note 2388242 – How To reset SAP Cloud Connector(SCC)’s built-in user(e.g. Administrator) password.
- Download the portable version of SAP Cloud Connector from https://tools.hana.ondemand.com/#cloud
- Extract the users.xml file in the config directory to the config directory of your SAP Cloud Connector installation.
- Restart the SAP Cloud Connector
- Login with Administrator and password manage.


