Question : Renew Certs

Hello,

I am looking out for some help related to renewing certs for CellDefaultKeyStore & NodelDefaultKeyStore.

Here is the scenario.

Solaris 10. running Websphere 7.
CellDefaultKeyStore & NodelDefaultKeyStore certs are expiring and I need to renew the same. However I could find some documentation regarding the same from IBM but they are a bit confusing.

I would really appreciate if someone can give me a step by step clear documentation on how this can be done without any errors.

Thanks,

Answer : Renew Certs

Another way of replacing self signed certificate if you want use same certificates for cell level and node level then follow the given below cell and node will use same certificate.


Before following steps please take backup by  runing backupconfig on dmgr more detail check the following link
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.nd.multiplatform.doc/info/ae/ae/rxml_backupconfig.html

Note Backup config will stop the dmgr. basically this command will zip the config dir on dmgr profile.

1) stop the dmgr and all nodeagents and all application server on nodes

And then take backup of key.p12 and trust.p12 from /usr/Webspherev6.1/profiles/dmgr/config/cell/cellname and /usr/Webspherev6.1/profiles/dmgr/config/cell/cellname/nodes/nodename

2)  Delete existing key.p12 and trust.p12 from cell level example

/usr/Webspherev6.1/profiles/dmgr/config/cell/cellname

3) Start the dmgr it will create new key.p12 and trust.p12 which contain 15 year certificate and make sure on adminconosle if it is create 15 years certifcate or not from   adminconsole and go to SSL certificate and key management > SSL configurations > CellDefaultSSLSettings > Key stores and certificates > CellDefaultKeyStore > Personal certificates --> you will see new default with 15 year certificate.

4) Copy those new created key.p12 and trust.p12 from dmgr config ( cell level) to node config (node level)
for example
From
/usr/Webspherev6.1/profiles/dmgr/config/cell/cellname

To
/usr/Webspherev6.1/profiles/dmgr/config/cell/cellname/node/nodename01
/usr/Webspherev6.1/profiles/dmgr/config/cell/cellname/node/nodename02
/usr/Webspherev6.1/profiles/dmgr/config/cell/cellname/node/nodename03

And also the following location.

/usr/Webspherev6.1/profiles/dmgr/etc
/usr/Webspherev6.1/profiles/Appsrv01/etc
/usr/Webspherev6.1/profiles/Appsrv02/etc
/usr/Webspherev6.1/profiles/Appsrv03/etc .....


Depend on how many nodes you have. In the above example for 3nodes

5) Go to each node and do manually sync the node with dmgr. for example:
./syncNode.sh dmgrhostname dmgrsoapportnumber -username user -password password while doing this it may add singer under etc files at this time
type yes and enter.

6) once successfully sync the node with dmgr then start the nodeagent and check the status of nodeagent and sync status of nodeagent on console.

7) If you have any third party certificate in earlier trust.p12 that uses for your application then you might need to add those certificate  on new trust.p12 at cell level like extracting all thirparty certificate from old trust.p12 into signer certificate on new trust.p12. if don't have third party certificate then discard this step.

8) If you have ssl between plugin and websphere then get the personal certificate from newly created key.p12 by extracting and add that extracted certificate under singer certificate of plugin kdb file that using plugin-cfg.xml after that restart the webserver. if don't have ssl between plugin and websphere then discard this step
Random Solutions  
 
programming4us programming4us