Tuesday Mar 31, 2009
Get Off My Case if You Can't Export OpenSSO Configuration Data
I wanted to export the configuration data on my install of OpenSSO so I went back to the directory that was created after I expanded opensso.zip to setup the ssoadm command line utility. Here are the steps I followed.
- Set
JAVA_HOMEandPATHvariables to point to the correct version of Java; in this case, version 1.5.# JAVA_HOME=/usr/java/jdk1.5.0_14 # export JAVA_HOME # PATH=$JAVA_HOME/bin:$PATH; # export PATH - Create a directory into which you will expand the
ssoAdminTools.zip.# mkdir /ssoadmtool - Unzip
ssoAdminTools.zipinto the top-level directory created.# cd /opensso/tools # unzip ssoAdminTools.zip -d /ssoadmtool # cd /ssoadmtool # ls -la total 320 drwxr-xr-x 6 root root 10 Mar 31 10:42 . drwxr-xr-x 42 root root 47 Mar 31 08:16 .. -rw-r--r-- 1 root root 4796 Mar 18 01:31 README.setup drwxr-xr-x 2 root root 25 Mar 18 03:55 lib -rw-r--r-- 1 root root 17003 Mar 18 01:31 license.txt drwxr-xr-x 3 root root 3 Mar 31 10:42 opensso drwxr-xr-x 2 root root 1161 Mar 18 03:55 resources -rwxr-xr-x 1 root root 2638 Mar 18 01:31 setup -rw-r--r-- 1 root root 3182 Mar 18 01:31 setup.bat drwxr-xr-x 4 root root 4 Mar 18 01:31 template - Run
setupfrom the top-levelssoadmtooldirectory.# ./setup Path to config files of OpenSSO server (example: /opensso):/opensso Debug Directory:/opensso/debug Log Directory:/opensso/log The scripts are properly setup under directory: /ssoAdmin/opensso Debug directory is /opensso/debug. Log directory is /opensso/log. The version of this tools.zip is: (2009-March-18 01:14) The version of your server instance is: (2009-March-18 01:14) - Run
ssoadmusing theexport-svc-cfgoption../ssoadm export-svc-cfg -e secretenckey -o /var/tmp/config.xml -u amadmin -f /tmp/passwordedefines the key that will be used to encrypt any sensitive information in the configuration data store.odefines the name and location of the XML file to which the configuration data will be written.udefines the OpenSSO administrator; by default,amadmin.fdefines the name and location of the file that contains the OpenSSO administrator's password.
config.xmlis created in/var/tmpand contains the configuration data stored in the OpenSSO embedded configuration data store.
-o you) the loveliness that is the Comateens singing Get Off My Case in the old train station in Hoboken, New Jersey. They are a great band singing in a great city in an OK state. And I would know - I lived in Hoboken for three years.
Posted at 03:25PM Mar 31, 2009 by Michael Teger in Sun | Comments[1]

Aloha!
I was following Indira's instructions, Using OpenDS as user store for OpenSSO http://blogs.sun.com/indira/entry/using_opends_as_user_store
Now for my issue, I've completed steps 1 thru 3. The problem is with step 4. After unzipping ssoAminTools.zip, then running the setup script to get the ssoadm tool, I get the following:
bash-3.00# ./setup
Path to config files of OpenSSO server (example: /opensso):/opensso
Debug Directory:/opensso/debug
Log Directory:/opensso/log
/opensso/bootstrap (No such file or directory)
bash-3.00#
Any assistance would be appreciated!
Thank you!
-Roque
Posted by Roque on April 20, 2009 at 02:58 PM PDT #