Server Error On Running Curl Command
(Doc ID 2919180.1)
Last updated on JANUARY 06, 2023
Applies to:
Oracle Access Manager - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
After setting external LDAP as system store trying to run curl command to validate config fails with server error
curl -u <LDAP_ADMIN>:<LDAP_PASSWORD> http://<OAM_HOSTNAME>:<OAM_PORT>/iam/admin/config/api/v1/config?path=/DeployedComponent/Server/NGAMServer/Profile/RestServices/OAMMFAOTP/UserStore > sub-config.xml
When running above curl command, below error message is displayed:
Same behavior for below URL as well
http://<OAM_HOSTNAME>:<OAM_PORT>/iam/admin/config/api/v1/config
In log, below error is displayed
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |