次のような (ただし同じではない) 問題があります:
Azure Web ロール - 単一のエンドポイントを指す複数の ssl 証明書
私の Azure パッケージには複数のサイトが含まれています。これらのサイトの一部はドメインabcにあり、他のサイトはドメインdefにあります。両方のドメインを SSL で保護する必要がありますが、(可能であれば) その方法がわかりません。
これが私の設定の例です:
<Sites>
<Site name="sub1.abc" physicalDirectory="***">
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" hostHeader="sub1-staging.abc.com" />
<Binding name="HttpsInABC" endpointName="HttpsInABC" hostHeader="sub1.abc.com" />
</Bindings>
</Site>
<Site name="sub1.def" physicalDirectory="***">
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" hostHeader="sub1-staging.def.com" />
<Binding name="HttpsInDEF" endpointName="HttpsInDEF" hostHeader="sub1.def.com" />
</Bindings>
</Site>
</Sites>
<Endpoints>
<InputEndpoint name="HttpIn" protocol="http" port="80" />
<InputEndpoint name="HttpsInABC" protocol="https" port="443" certificate="abc" />
<InputEndpoint name="HttpsInDEF" protocol="https" port="443" certificate="def" />
</Endpoints>
<Certificates>
<Certificate name="abc" storeLocation="LocalMachine" storeName="My" />
<Certificate name="def" storeLocation="LocalMachine" storeName="My" />
</Certificates>
この構成では、次のエラーが発生します。
同じローカル ポート「443」が、ロール *** のエンドポイント HttpsInABC および HttpsInDEF に割り当てられます。
それらを個別にホストすることなく、これを回避する方法について何か提案はありますか?
@JoelDSouzaの回答に基づく:
異なるポートを使用するとうまくいきますか
Windows Azure のポート 444/445/446 などで SSL を使用すると、どのような影響がありますか?