URL IIS переписывает и инвертирует прокси

От этого сайта:

  1. Регистрируйтесь к Порталу управления службами <<https://eduadmin.live.com>> с Вашими учетными данными администратора домена.

  2. Нажмите на опцию "Single sign-on". Это откроет страницу "Single sign-on support".

  3. нажмите на "Загрузку ссылка" набора Microsoft Live@Edu SSO на странице. Это возьмет Вас на сайт Подключения.

  4. Если это - Ваш первый раз, входя в Подключение, Вам, возможно, придется Зарегистрировать себя.

  5. После того как регистрация завершена, Вы достигнете страницы "Microsoft Live@edu Home" на Подключении.

  6. Нажмите на ссылку "Загрузок" на той странице, и список загрузок будет отображен

0
задан 8 February 2014 в 19:19
1 ответ

The Rewrite and ARR modules take an existing request and re-route it to another server to fulfill that request.

SSL should always be between two endpoints, in this case the browser and the final server, you are trying to introduce SSL halfway through the process. If the rewrite module switches to SSL, how does the browser know about this? (it doesn't) What if the browser OS does not trust the certificate of the final server? This should not work.

What you should do it set up a redirect rule for all non-ssl requests, from http:// to https://, then the browser will repeat the request with SSL and it should go through all the way.

You need to add a condition like this one:

<conditions>
  <add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
1
ответ дан 4 December 2019 в 17:49

Теги

Похожие вопросы