How to Enable HTTPS for SmartHub
HTTPS is enabled by default.
As part of the installation process you create both HTTP and HTTPS bindings.
For Sites with Windows Authentication
Edit the File web.config
- Navigate to your SmartHub installation directory.
- Use a text editor to edit the web.config file in the root folder of your SmartHub installation directory.
- If using HTTPS binding for SmartHub uncomment the binding code below the following line (see the following code block):
<!--Uncomment below for HTTPS with Windows authentication setup →
- If using HTTP binding for SmartHub uncomment the binding code below the following line (see the following code block):
<!--Uncomment below for HTTP with Windows authentication setup →
Web Bindings
Copy
<bindings>
<webHttpBinding>
<binding name="wbsBind" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
<security mode="Transport">
<!-- Uncomment below for HTTPS with Windows authentication setup -->
<!-- <transport clientCredentialType="Windows" /> -->
</security>
</binding>
<binding name="wbBind" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
<!-- Uncomment below for HTTP with Windows authentication setup -->
<!--<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
</security> -->
</binding>
</webHttpBinding>
</bindings>
For Sites with Azure Active Directory Authentication
For Azure Active Directory sites, editing the web.config file is not required.
For Sites with Federated Authentication
Edit the File web.config
Edit the web.config file in your installation directory
- Navigate to your SmartHub installation directory.
- Use a text editor to edit the web.config file in the root folder of your SmartHub installation directory.
- Ensure the binding code is commented out as seen above on lines 7 and 13-15