If you want to configure Smart Materials with secure socket layer (SSL), follow the instructions in this section.
IIS Configuration
-
Start the Internet Information Services (IIS) Manager.
-
Select Default Web Site > Edit Site Bindings.
-
Click Add....
-
Select https from the Type list.
-
Click Select… to get the list of available certificates.
-
Select one from the list and click OK.
If a certificate is not available for selection, use Microsoft Management Console to import. Then try again.
-
Click OK to add bindings.
-
Click Close.
-
Go to Sites > Default Web Site > SmartMaterials2020 and double-click HTTP Response Headers.
-
Type X-Frame-Options in the Name box and DENY in the Value box, and then click OK.
Database
-
Invoke SQL*Plus and connect as M_SYS.
-
In the m_applications table, replace http with https in the URL column.
-
Check the m_pck_url_custom.get_smatnet_url function and adjust if needed, replace http with https.
Application Server Configuration Changes
Perform the steps in this section on the server where Smart Materials is installed.
Application Launcher
-
Find the url to the deployment service in index.htm, located under <ProductRootLocation>\Web\Launcher.
-
Adjust the url by replacing http with https.
DataBrokerService
-
Open <ProductRootLocation>\Web\DataBrokerService\Web.config.
-
In the <serviceBehaviors> section, ensure that httpsGetEnabled="true" is set.
-
In the <bindings> section, check that binding properties are added for https as shown in the picture below.
-
In the <services> section, change the bindingConfiguration name to https configuration in the endpoints as shown below.
-
Save and close the web.config.
DeploymentService
-
Open <ProductRootLocation>\Web\DeploymentService\Web.config.
-
In the <serviceBehaviors> section, ensure that httpsGetEnabled="true" is set.
-
In the <bindings> section, check that binding properties are added for https as shown in the picture below.
-
In the <services> section, change the bindingConfiguration name to https configuration in the endpoints as shown below.
-
Save and close the web.config.
Smart Materials Client
-
Open <ProductRooLocationt>\SPMAT\Intergraph.WPF.Apps.SPMatApplication2.exe.config.
-
In the <SmartPlantOnlineHelp> section, replace http with https as shown below.
<SmartPlantOnlineHelp>
<add key="Mapping" value="https://hostname.domain.com/SmartMaterials2020/onlinehelp/OnlineHelpMapping" />
</SmartPlantOnlineHelp>
<SmartPlantDeployment>
<add key="PromptsUri" value="https://hostname.domain.com/SmartMaterials2020/prompts" />
/>
</SmartPlantDeployment>
-
In the <client> section, remove endpoint with name DataBrokerEndPoint and bindingConfiguration= IntergraphCustomHttpBinding, rename endpoint with bindingConfiguration IntergraphCustomHttpsBinding to DataBrokerEndPoint
<client>
<!--
<endpoint address="urn:databroker" binding="customBinding" bindingConfiguration="IntergraphCustomHttpBinding" contract="Intergraph.Common.Communication.IDataBrokerService" behaviorConfiguration="viaBehaviorDataBrokerNormal" name="DataBrokerEndPoint" />
-->
<endpoint address="urn:databroker" binding="customBinding" bindingConfiguration="IntergraphCustomHttpsBinding
" contract="Intergraph.Common.Communication.IDataBrokerService" behaviorConfiguration="viaBehaviorDataBrokerNormalHttps" name="DataBrokerEndPoint" />
-
Remove endpoint with name DeploymentEndPoint and bindingConfiguration IntergraphCustomHttpBinding, rename endpoint with bindingConfiguration IntergraphCustomHttpsBinding to DeploymentEndPoint.
<!--
<endpoint address="urn:deployment" binding="customBinding" bindingConfiguration="IntergraphCustomHttpBinding" contract="Intergraph.DataContracts.IDeploymentService" behaviorConfiguration="viaBehaviorDeployment" name="DeploymentEndPoint" />
-->
<endpoint address="urn:deployment" binding="customBinding" bindingConfiguration="IntergraphCustomHttpsBinding" contract="Intergraph.DataContracts.IDeploymentService" behaviorConfiguration="viaBehaviorDeploymentHttps" name="DeploymentEndPoint" />
-
Remove endpoint with name StreamedTransferServiceEndPoint and bindingConfiguration IntergraphCustomHttpBinding, rename endpoint with bindingConfiguration IntergraphCustomHttpsBinding to StreamedTransferServiceEndPoint.
<!--
<endpoint address="urn:streaming" binding="customBinding" bindingConfiguration="IntergraphCustomHttpStreamedBinding" contract="Intergraph.Common.Communication.IStreamedTransferService" behaviorConfiguration="viaBehaviorDataBrokerStreaming" name="StreamedTransferServiceEndPoint" />
-->
<endpoint address="urn:streaming" binding="customBinding" bindingConfiguration="IntergraphCustomHttpsStreamedBinding" contract="Intergraph.Common.Communication.IStreamedTransferService" behaviorConfiguration="viaBehaviorDataBrokerStreamingHttps" name="StreamedTransferServiceEndPoint" />
</client>
Post Configuration Steps
-
Open a command prompt window as system administrator and navigate to the <ProductRootLocation>\tools directory.
-
Run install_or_update_spmat.cmd.
-
Enter database, user M_SERVICE and password M_SERVICE (if not changed during installation, otherwise updated password).
-
Restart IIS.
-
On the client machine delete shortcuts to Smart Materials if any.
-
Start Application Launcher and cleanup Appstore.