TIBCO Spotfire Web Player and Automation Service instance may fail to start with error "Failed to execute netsh http add sslcert ipport=0.0.0.0:9501"

TIBCO Spotfire Web Player and Automation Service instance may fail to start with error "Failed to execute netsh http add sslcert ipport=0.0.0.0:9501"

book

Article ID: KB0076255

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.11 and Higher

Description

TIBCO Spotfire Web Player and Automation Services fail to start. The below error message can be seen in "Spotfire.Dxp.Worker.Host.log"
---------------------------------
ERROR;2019-12-10T11:14:02,940-06:00;2019-12-10 17:14:02,940;e1c74bfc-2b1f-40e9-8c8a-a9a2c7c67e93;(null);WorkerStartup 1;;;Spotfire.Dxp.Worker.Services.Web.Utilities.ConsoleApplicationExecutor;"Failed to execute 'netsh http add sslcert ipport=0.0.0.0:9501 certhash=A91965F49A82D7CB3D835A0EED46FB70A60D9ACC appid={f61e3b80-2b5c-41f0-988f-20a7f82c63c6} clientcertnegotiation=enable' command, exit code 1. "

ERROR;2019-12-10T11:14:02,940-06:00;2019-12-10 17:14:02,940;e1c74bfc-2b1f-40e9-8c8a-a9a2c7c67e93;(null);WorkerStartup 1;;;Spotfire.Dxp.Worker.Services.Web.Utilities.ConsoleApplicationExecutor;"Failed to execute netsh command: System.Configuration.ConfigurationErrorsException: Failed to execute 'netsh' command.
   at Spotfire.Dxp.Worker.Services.Web.Utilities.ConsoleApplicationExecutor.ExecuteCommandAndWaitForExit(String command, String arguments, String& result, Boolean throwException). "
---------------------------------
 

Issue/Introduction

This article explains how to resolve error "Failed-to-execute-netsh-http-add-sslcert-ipport-0-0-0-0-9501"

Environment

All supported operating systems

Resolution

- Launch Windows registry, Start > Run > Regedit and navigate to path : [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP] "Start"=dword:00000004 is "disabled"
- To enable this service change the value of "Start" to "dword:00000003"
- Restart the machine/server for the above registry changes to take effect.

Disclaimer:
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/)

Additional Information

 https://superuser.com/questions/352017/pid4-using-port-80
 https://superuser.com/questions/1446875/netsh-http-command-gives-me-an-invalid-handle-error-message