You must configure trust to enable single sign-on in your SAP system landscape. The process for establishing trust in your system landscape is as follows:
Configure trust between the SAP Gateway host and the SAP system
Configure trust between the SAP Gateway host and the Security Token Service