Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Activating HTTPs connection is SAP


The following are the pre-requisites to activate HTTPs connection for our XI server.


Note: PORT value is a unique number. It means HTTPS, SMTP and HTTP port numbers should not be same.

2. Create directory sec under /usr/sap/<SID>/<Instance> and update SAP environment variable .sapenv_<hostname>.sh (or .sapenv_<hostname>.sh) with the following value with user SIDADM.

SECUDIR=/usr/sap/<SID>/<Instance>/sec; export SECUDIR.

Question 1) What should be the port number?

               2) How do we update the following parameters?

Update “.sapenv_<hostname>.csh with following entries :

setenv SECUDIR /usr/sap/<SID>/DV*/sec

setenv USER <sid>adm

Update “.sapenv_<hostname>.sh” with following entries :

SECUDIR=/usr/sap/<SID>/DV*/sec; export SECUDIR

USER=<sid>adm; export USER

Kind Regards,


Former Member
Former Member replied

I did and have twice repeated the steps...still no luck

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question