Hi Dojo,
A question about a SoftLaunch feature APIDeployment:
When I create a token, an endpoint is created with the default port number 5000 and the protocol HTTP. How can I change the default port and enable HTTPS for an endpoint?
Thanks!
Hi Alexander,
That can be configured in the following config file:
C:\Skyline DataMiner\SLAPIEndpoint\appsettings.json
Another alternative is to use the already-configured IIS HTTPS on port 443 as reverse proxy. This requires the IIS ApplicationRequestRouting plugin to be installed and enabled. The "Reroute API Deployment" rewrite rule can be modified to map http/5000 to https/443.
To extend the answer from Ive:
The format of the config file C:\Skyline DataMiner\SLAPIEndpoint\appsettings.json is shown in the screenshot below.
Port numbers may be changed, but the change is not reflected in Cube in the current DataMiner version (10.2.8). This is a SoftLaunch feature and not all functionality is implemented at this point.
This does work, but from a security perspective it’s safer to use Bert’s suggestion of the reverse proxy as then you don’t have to open up another port in the firewall, nor will you need to hardcode the certificate & password as they will be managed by IIS.