SAP PSE generation in java stack
Below are the steps for the SSL renewal in portal systems:
Login to OS level and go to path: /usr/sap/SID/J00/sec
Setenv secudir to above mentioned path
Export SECUDIR=/usr/sap/SID/J00/sec
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”
Enter password: <password>
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
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
Post a Comment