Securing BizDataX Portal using HTTPS can be preformed manually, using this guide.
Table of contents |
---|
Acquiring SSL certificate |
BizDataX Portal API configuration |
BizDataX Portal UI configuration |
BizDataX Designer configuration |
An SSL certificate can be generally acquired in one of two ways:
To generate self-signed certificate open Internet Information Services (IIS) Manager and select appropriate server connection. In the central menu navigate to IIS feature group and double click on Server Certificates feature. On the right side menu click Create Self-Signed Certificate... and input a user-friendly name such as bdxportal.ekobit.corp
.
For BizDataX Portal to work properly with HTTPS protocol API needs to be manually configured using steps provided below.
Open Internet Information Services (IIS) Manager, select appropriate server connection and expand Sites list.
Locate the Web.config file in BizDataX Portal install location. Default path is C:\Inetpub\BizDataXPortal\API\Web.config
. Change keys as follows:
<configuration></configuration>
section
<appsettings></appsettings>
<add key="cors:origins" value="http://localhost:9000"></add>
with
<add key="cors:origins" value="https://localhost:9000"></add>
<system.servicemodel></system.servicemodel>
-> <bindings></bindings>
-> <basichttpbinding></basichttpbinding>
<binding name="servicesBinding" maxbufferpoolsize="2000000000" maxbuffersize="2000000000" maxreceivedmessagesize="2000000000">
<security mode="TransportCredentialOnly">
<transport clientcredentialtype="Windows"></transport>
</security>
</binding>
with
<binding name="servicesBinding" maxbufferpoolsize="2000000000" maxbuffersize="2000000000" maxreceivedmessagesize="2000000000">
<security mode="Transport">
<transport clientcredentialtype="Windows"></transport>
</security>
</binding>
Locate the AppSettings.config file in BizDataX Portal install location. Default path is C:\Inetpub\BizDataXPortal\API\AppSettings.config
. Change keys as follows:
<appsettings></appsettings>
section<add key="PortalApiUrl" value="http://localhost:9001"></add>
with
<add key="PortalApiUrl" value="https://localhost:9001"></add>
For BizDataX Portal to work properly with HTTPS protocol UI also needs to be manually configured using steps provided below.
Open Internet Information Services (IIS) Manager, select appropriate server connection and expand Sites list.
Locate the config.production.json file in BizDataX Portal install location. Default path is C:\Inetpub\BizDataXPortal\UI\config\config.production.json
. Change keys as follows:
"apiUrl": "http://localhost:9001"
with
"apiUrl": "https://localhost:9001"
For BizDataX Designer to work properly with BizDataX Portal its configuration needs to be manually updated as well. To configure it open Microsoft Visual Studio.
http://localhost:9001
to
https://localhost:9001