Follow

How To: Set up Multiple Site Bindings

Applies To

20.1+

Symptom

When configuring multiple sites on the same binding port in IIS some components of Venafi stop functioning.

Affected components include:

  • VEDSDK
  • VEDClient
  • VScep

Some of the Possible Error messages:

1. Exception: System.ServiceModel.ServiceActivationException: The service '/VEDSDK/Authorize' cannot be activated due to an exception during compilation. The exception message is: This collection already contains an address with scheme https. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.

2. Parameter name: item. ---> System.ArgumentException: This collection already contains an address with scheme https. There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'.

Cause

When setting up multiple sites on the same binding port in IIS like so: 

multSiteBindings.PNG

MultipleSiteBindingsEnabled must be set to true withinin some Venafi web.config files for this to function properly. 

Resolution

The resolution to this is enabling multiple site bindings within the following web.config files:

  • <TPPInstallPath>\Venafi\Web\Client\Web.config
  • <TPPInstallPath>\Venafi\Web\WebSDK\Web.config
  • <TPPInstallPath>\Venafi\Web\VScep\Web.config

By changing the following clause of the opening “<serviceHostingEnvironment>” tag in each file to match below:

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true">

Restart IIS (e.g. iisreset)

Was this article helpful?
0 out of 0 found this helpful

Comments