Posts

Showing posts from September, 2022

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 .p 12 format       sapgenpse export_p12 -p SSL....

How to Bulk ADD TRs to buffer sap

Create THREE files file with below file name Systems.lst and  transport.txt   and ADDBUFFER.sh Systems.Lst SID.200 ADDBUFFER.sh #!/bin/csh foreach sysline (`cat Systems.lst`)         set sid = `echo $sysline | awk '{split($0,a,"."); print a[1]}'`         set clnt = `echo $sysline | awk '{split($0,a,"."); print a[2]}'`         echo ""         echo "System ID=$sid  Client=$clnt"         echo ""         foreach trline (`cat Transports.lst`)                 echo "Adding transport to buffer"                 echo "Executing tp ADDTOBUFFER $trline $sid client=$clnt pf=/usr/sap/trans/bin/TP_DOMAIN_CDD.PFL"                 tp ADDTOBUFFER $trline $sid client=$clnt pf=/usr/sap/trans/bin/TP_DOMAIN_CDD.PFL #       tp IMPORT $trl...