SSL Certificate assignment failed / certificate binding is missing

Problem:

The Certificate binding via the FLOWSTER Studio Administrator failed and following error message appears:

This message comes up, because the system can’t set the certificate binding to the port.
But it have still remove the existing binding. Because of this is it not possible anymore to open the Webpage:

Solution:

1.Check the existing certificate bindings via an administrative cmd and the command:

netsh http show sslcert

You should see now a list of all Certificate bindings from your server. The binding for the selected service / port won’t be set anymore

2. You can add the needed binding with following command:

netsh http add sslcert ipport=0.0.0.0:<Port> certhash=<thumbprint of the certificate> appid=<custom appid> certstore=my

Example:

C:\Windows\system32>netsh http add sslcert ipport=0.0.0.0:5500 certhash=43c5b2101f7e51c55137a5ec351a6c8dab2d2e45 appid={ef9e8378-6c4a-45bb-834d-1e6a3e4d7e4b} certstore=my SSL Certificate successfully added

The parameter value for the appid is a custom id.
You can copy an existing app id, which you can get via the “show” command and change one or two characters, to generate it easily.

3. Your Service or Webpage will be now available again