InstallationPrepare SAP EnvironmentSetup Web Service to Use SSL

Prepare SAP Environment

  Open 'Prepare SAP Environment' wizard and choose your SAP version to see more information.

Setup Web Service to Use SSL

Secure Sockets Layer (SSL) is a cryptographic protocol that helps provide security and data integrity for data communications over a network. By encrypting your Sana  Web service for SAP Business One using SSL, you make your data and the network more secure and more reliable.

It is required to secure data transfer between the Sana web store and SAP Business One.

Prerequisites

  • The server which hosts the Sana Web service for SAP Business One must support TLS 1.2.
  • Before configuring the Web service to use SSL, you must obtain a security certificate for the Web service domain. The certificate is issued by a certificate authority (CA). If this is a test environment, you can create and use a self-signed SSL certificate. The self-signed SSL certificate can be used only for testing purposes.
  • Internet Information Services (IIS) Manager.

Configure Internet Information Services (IIS) Manager to listen to HTTPS

Step 1: Open IIS Manager.

Step 2: In the IIS Manager select the web site where the Sana Web service for SAP Business One is running.

Step 3: In the 'Actions' pane on the right click 'Bindings'.

Step 4: In the 'Site Bindings' window click 'Add'.

Step 5: Add site binding with 'https' type and select the SSL certificate obtained from the certification authority.

Configure Web service to use SSL

Step 1: Open the 'Web.config' file of the Sana Web service in any text editor (for example Notepad).

Step 2: In the <services> section uncomment the endpoint which is used with HTTPS.

Step 3: In the <serviceBehaviors> section set the value of the 'httpGetEnabled' parameter to 'False' and the value of the 'httpsGetEnabled' parameter to 'True':

<serviceMetadata httpGetEnabled="False" httpsGetEnabled="True" />

Step 4: In the <basicHttpBinding> section uncomment the binding which is used with HTTPS.

You should now be able to use the Sana Web service for SAP Business One which is encrypted with the SSL certificate. To verify this, enter the Web service URL with the https protocol instead of http in the address bar of your Web browser.

InstallationPrepare SAP EnvironmentSetup Web Service to Use SSL