Monday, November 16, 2015

ssoadm CLI - Directory Configuration Part II

So there is, in fact, a way to script the Directory Configuration as mentioned by Peter.



The easiest way is to export the configuration in XML format, then import again via the ssoadm CLI.

$ ./ssoadm get-svrcfg-xml -u amadmin -f .pwd.txt -s http://am0-test.XXXX.net:8080/auth


$ ./ssoadm set-svrcfg-xml -u amadmin -f .pwd.txt -s http://am0-test.XXXX.net:8080/auth -X /data/bin//am-config/dir-conf.xml




Do take note to:

1. only update the SMS Server Group.

2. encrypt password via ampassword CLI


.

No comments:

Post a Comment