Friday, May 27, 2011

giving signer certificates and trust stores in WAS to run services from Portal.

1.First import the certificates by running  ikeyman.sh utility from the /bin, use xmanger for running this utility the UI will not appear in Putty.you can refer
http://publib.boulder.ibm.com/infocenter/adiehelp/v5r1m1/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/tsec_importsigner.html for importing keys.

2.put the imported keys in WAS server by winscp.
3.Open WAS administration console  and  go to signer certificates ,
put entry for client as shown below.


4. Similarly put entries for trust stores for default and Client as shown below by clicking on trust stores.
5. Restart WAS , and start hitting services from portal, your EJB will run on WAS properly.



Steps for Adding custom Attribute in profile WebSphere Portal 6.1.

First install the attribute installer.
1.Restart Portal Server
2.Edit wkplc.properties with the following info:
la.propertyName=userCompanyId
la.entityTypes=PersonAccount
la.dataType=String
la.multiValued=false
Run ConfigEngine.bat wp-add-property -DWasPassword=secret

After running the above command, a file wimxmlextension.xml will be created in \config\cells\\wim\model folder.
Put an entry for your attribute by directly editing the file wimxmlextension.xml




Restart Portal Server

Run ConfigEngine.bat wp-query-attribute-config -DWasPassword=secret



This will create availableAttributes.html report in /ConfigEngine/log & now you can check your newly created
attribute from the Administration.