thefstx
Goto Top

IIS 7.5 Mehrere Sites über https??!

Liebe Experten!

Seit gestern versuche ich mit Hilfe einiger Anleitungen aus dem Netz, mehrere Sites auf unserem IIS mit dem https Port zu verknüpfen.
Das Wildcardzertifikat dazu habe ich erstellt.

Es besteht leider nicht die Möglichkeit, aus konfigurationstechnischen Gründen, unterschiedliche Ports zu nutzen.

Ich habe es unteranderem mit dieser Möglichkeit versucht:

Using the command line to set the host information for the binding:

Here is where we need to employ the command line, as you cannot edit the host information for the binding if it is an HTTPS port binding.
◾Open a command prompt and change to the directory: %WINDIR%\\system32\\inetsrv
◾Using the “appcmd” utility we can add the 443 binding and host information to all the websites we need….replace the information below with your site details and host information

◾appcmd set site /site.name: Test1 /bindings.[protocol=’https’,bindingInformation=’*:443:’].bindingInformation:*:443:test1.test.local

◾Repeat the command for every website that you want to add host information to the 443 binding

Sobald ich den Befehl absetze kommt folgende Fehlermeldung:

ERROR ( message:Malformed collection indexer; format is [@position,name='value',name2='value2',...].  The @position specifier is optional, a  
nd be '@start', '@end', or '@N' where N is a numeric index into the collection. )  

Ist hier jemand unterwegs der das Problem schon einmal hatte?

Content-Key: 311515

Url: https://administrator.de/contentid/311515

Printed on: April 24, 2024 at 15:04 o'clock

Mitglied: 129813
Solution 129813 Aug 03, 2016 updated at 07:53:55 (UTC)
Goto Top
Hi,
the host header for each site can also be set in the IIS Console face-wink
https://technet.microsoft.com/en-us/library/0cf70cc4-ae4d-470b-992d-225d ...

Regards