How to Register/Activate AdminUI from Command Line

book

Article ID: 205501

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

Customer uses RestAPI to manage policy objects and has automated all of the setup steps except completing the AdminUI registration.  Is there a way to complete this step via the command line rather than execute the manual steps with a browser?

Environment

Release : 12.8

Component : SITEMINDER -WEB AGENT FOR APACHE

Resolution

The following curl command can be used to complete the AdminUI registration:

curl -H "Accept: text/html" -H "Content-Type: application/x-www-form-urlencoded" -X POST "adminuihost.company.com:8080/iam/siteminder/adminui?" -d "username=SiteMinder&password=mysecretpassword&address=policyserverhost.company.com"