This documentation is for WSO2 API Manager 1.9.0. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Changing the super admin password

See How do I To change the default admin password and what files should I edit after changing it?, log in to the management console with admin/admin credentials and use the "Change my password" option. After changing the password, do the following:

  1. Change the following elements in <APIM_HOME>/repository/conf/api-manager.xml file:

    Code Block
    languagexml
    <AuthManager>
       <Username>admin</Username>
       <Password>newpassword</Password>
    </AuthManager>
    
    <APIGateway>
       <Username>admin</Username>
       <Password>newpassword</Password>
    </APIGateway>
    
    <APIKeyManager>
       <Username>admin</Username>
       <Password>newpassword</Password>
    </APIKeyManager>
  2. Go to the Resources -> Browse menu in the management console to open the registry and update the credentials in /_system/governance/apimgt/applicationdata/sign-up-config.xml registry location.
Tip

Do you have any special characters in passwords?

If you specify passwords inside XML files, take care when giving special characters in the user names and passwords. According to XML specification (http://www.w3.org/TR/xml/), some special characters can disrupt the configuration. For example, the ampersand character (&) must not appear in the literal form in XML files. It can cause a Java Null Pointer exception. You must wrap it with CDATA (http://www.w3schools.com/xml/xml_cdata.asp) as shown below or remove the character:

 

Code Block
languagexml
<Password>
    <![CDATA[xnvYh?@VHAkc?qZ%Jv855&A4a,%M8B@h]]>
</Password>

...