Steps to enable SSL with Online Services

1 post / 0 new
Anders
Anders's picture
Steps to enable SSL with Online Services

Business Analyze Online Services will stop responding to HTTP request in some time.
Now, the services responds to both HTTP and HTTPS requests.

AnalyzePRO installations < 5.3.1 are configured to use HTTP and need to be re-configured to support HTTPS trafic:

web.config

Open the web.config file and add the node below to the system.serviceModel->bindings node:

      <wsHttpBinding>
        <binding name="WSHttpBinding_CustomerServices" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
          <security mode="Transport">
            <transport clientCredentialType="None"/>
          </security>
        </binding>
      </wsHttpBinding>

In addition you need to enable httpsGet. Search for "serviceMetadata" to find the tag and add the text in red like this:

<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />

Next update the CustomerService endpoint node to match the below line:

<endpoint address=".." binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_CustomerServices" contract="OS.CustomerServices" name="BasicHttpBinding_CustomerServices"/>

System Variables

Now the configuration is updated.
Then log into your AnalyzePRO application with a user that has admin privileges, and update the url to Online Services:
  1. System Administration -> System -> System Variables
  2. Expand System 
  3. Select the variable "central_services_path"
  4. Click "Edit" and replace HTTP with HTTPS

Now you can log out and back in again.

Now all service callbacks to Online Services should use SSL.

If you encounter any problems, contact support@businessanalyze.com