SAP PSE generation in java stack

Below are the steps for the SSL renewal in portal systems: 

  

  1. Login to OS level and go to path: /usr/sap/SID/J00/sec 

  1. Setenv secudir to above mentioned path 

  1. Export SECUDIR=/usr/sap/SID/J00/sec 

  1. Run below command to generate PSE 


sapgenpse gen_pse -p SSLExample.pse -r SSLExample.csr -k GN-dNSName:www.example.com -k GN-dNSName:www.example.net -k GN-dNSName:www.example.org “CN=SelfSigned With SAN, OU=SAP Web AS, O=Example, C=DE” 

  

  1. Enter password: <password>

  1. You will get CSR in below format, copy paste in notepad and save as SIDSSL.txt and send it for signing to infosec security team 

  

  

 

  

  1. New PSE is generated in same path: 

  

8.Once you get the signed, copy the .cer file to sec directory


sapgenpse import_own_cert -p SIDSSL.pse -c signedcert.cer -r rootcerts

  

9.Use below command to extract PSE file as .p12 format 

  

sapgenpse export_p12 -p SSL.pse ASJava_SSL_PrivateKey 

  

10.Now go to nwa/ssl and go to edit mode, remove old entry and add entry to below 


  

11.perform rolling restart to take SSL cert effect and check the link if its secure 

  


Comments

Popular posts from this blog

SAP SUM (Software Update Manager) Upgrade Phases

Troubleshooting issues with TREX indexing