Salesforce

OEM: Where to set up the OpenEdge Manager user for PASOE

« Go Back

Information

 
TitleOEM: Where to set up the OpenEdge Manager user for PASOE
URL NameWhere-to-set-up-the-OpenEdge-Manager-user-for-PASOE
Article Number000110536
EnvironmentProduct: OpenEdge
Version: 11.5.x, 11.6.x, 11.7.x, 12.x
OS: All supported platforms
Other: OEM, OEE, oemanager
Question/Problem Description
Where to set up the OpenEdge Manager user for PASOE
What is the difference between the OpenEdge Manager user and the user credentials for OpenEdge Management/Explorer
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The OpenEdge Manager user (oemanager) is not the same user as the user credentials used for OpenEdge Management to access the OEE or OEM Console. 

The OpenEdge Manager user referred to when creating the PASOE instance is not the same as the 'admin' user used when administering OpenEdge Management.  For further information refer to Article: The OpenEdge Manager user is used for administering PASOE and is configured in the {catalina_base}/conf/tomcat-users.xml file, associated with the PASOE instance.
  • These are the user credentials used for OpenEdge Manager authentication.
  • The authentication information provided through the OpenEdge Management Console is for OEM’s use only.
  • It is used as connection information to /oemanager Web Application when the oemanager.war is deployed. It is not an “EDIT” of the tomcat configuration.
  • These user credentials are not created automatically, when the oemanager user is specified in the Create Progress Application Server interface.
The tomcat-users.xml file is initially created in the instance Directory specified when a new PASOE instance is created. The OpenEdge Manager user must then be created (manually) in this file to authenticate once how the OpenEdge manager should be authenticated has been configured:
  1. Use Tomcat manager username and password (for both manager and oemanager web applications)
  2. Use OE Manager username and password (for oemanager web application)
For example: After creating the PASOE instance through the Progress Application Server interface, specify how the OpenEdge manager should be authenticated: 
  1. Use Tomcat manager username and password
Tomcat manager login: tcm
Tomcat manager password: tcm
OpenEdge manager authentication: 
         Use Tomcat manager username and password:
Install Progress Application Server OpenEdge manager web application (which deploys the oemanager.war)

Add these credentials to the <instance>/conf/tomcat-users.xml file 
          
<!-- start_admin_account -->
<user 
username="tcm"
password="tcm"
roles="ROLE_PSCAdmin,ROLE_PSCOper,ROLE_PSCUser" />
<!-- end_admin_account -->

This information is recorded in <DLC>/properties/pasmgr.properties when the instance is first started. These credentials are used by OEM to connect to the /oemanager web application.
       
[PAS.<alias>]
    webUserName=tcm
    webPassword=243d22243331

Note: You need to use genpassword utility from proenv to generate a new encoded password for the webPassword 

For Ex:

proenv>genpassword -password tcm
243d2224333162


When credentials don't match access to the management REST APIs will fail: Changing the default username/password when securing the manager webapps is part of our recommended practice:

Since OpenEdge 11.7.2, TCMAN has a new security switch: -m <uid:pwd> which allows changing container credentials, which previous versions did not.

When creating a PASOE instance in OEM/OEE:
  • The tomcat user/password entered in the configuration section is enhanced to pass this information to tcman, and tcman writes this to tomcat-users.xml file.
  • If "OpenEdge Manager username and password" is used to authenticate, these credentials still have to be manually created (as outlined above).
When creating the PAS instance with: tcman/pasman create -m
  • Using the -m switch to change container credentials, means that this instance will use a non default login and password for oemanager access.
  • This -m option only affects the credentials for the created PAS instance and does not alter the default username/password (tomcat/tomcat) used by OpenEdge Management manager webapps when the instance is registered. 
  • When the default credentials are changed to secure a PAS instance, both the “OpenEdge Manager” and “Tomcat Manager” login and password fields need to be updated. This is because the tcman/pasman -m option, alters the Tomcat container’s default username and password, which affects both of these manager webapps. Otherwise PASOE Agent and Session details are not visible in the OEE/OEM Console and the pasmgr.properties credentials are not updated:  pasman create -m does not update password in pasmgr.properties
Workaround
Notes
References to Other Documentation:

Manage Progress Application Server (PAS) for OpenEdge with OpenEdge Management: Learn about PAS for OpenEdge and OpenEdge Management, Manage PAS for OpenEdge data, Configure a PAS for OpenEdge instance with OpenEdge Management - Connection configuration properties
https://docs.progress.com/bundle/openedge-management-pas-for-openedge/page/Connection-configuration-properties.html   

Learn About Security and Auditing: Security in OpenEdge - Secure the Tomcat Manager and OpenEdge Manager web applications    
https://docs.progress.com/bundle/openedge-security-and-auditing/page/Secure-the-Tomcat-Manager-and-OpenEdge-Manager-web-applications.html   

Manage Progress Application Server (PAS) for OpenEdge: Secure PAS for OpenEdge instances - Secure PAS for OpenEdge instances
https://docs.progress.com/bundle/pas-for-openedge-management/page/Secure-PAS-for-OpenEdge-instances.html?    

Progress Article:
 How to configure Tomcat to accept only localhost access for the Manager Application? 
Keyword Phrase
Last Modified Date7/31/2024 4:08 PM

Powered by