Saturday, June 26, 2010

Security Certificate Installation in PeopleSoft environment

You know you need to install security certificates when you see messages like "HttpTargetConnector:PSHttpFactory init or setCertificate failed" in the integration broker log. Well, I had to spent couple of hours to figure that out. I am writing down the steps involved to install certificates so that you could save some time.

  1. Open the certificate from a browser and go the details tab. Export all the certificates in hierarchy by selecting them one by one and then clicking on export
  2. If you saved these certificates on a different machine move them to the Peoplesoft Webserver. Peoplesoft provides a utility called pskeymanager to manage security certificates. The executable resides in PS_HOME\webserv\peoplesoft\bin ( In PT 8.51 the executable is moved to  PS_HOME\webserv\peoplesoft\piabin )
  3. Type pskeymanager -import in a command prompt
  4. Enter password when prompted. Default password is password
  5. Enter alias for the certificate
  6. Enter path for the certificate
  7. You should see a message for successful import
  8. You have to import all the certificates in hierarchy
  9. Don't forget to restart the web server and you should be good to go
  10. If your web server hosts multiple environments, these certificates will be available to all of them