# HTTPSリクエストのみに応答するようMDMサーバーを設定

利用対象...

* Data Fabric
* MDM Platform

SSLのサポートが設定されている場合、MDMサーバーはHTTPリクエストとHTTPSリクエストの両方に応答できます。

MDMサーバーとの通信のセキュリティを確保するために、&lt;TomcatPath&gt;\webapps\talendmdm\WEB-INFの下のweb.xmlファイルを変更し、HTTPSリクエストのみに応答するようにMDMサーバーを設定できます。

web.xmlファイルを開き、以下のテキストのコメントを解除します:

```
    <!-- Uncomment the following to configure webapp to always require HTTPS -->
    <security-constraint>
        <web-resource-collection>
            <web-resource-name>HTTPSOnly</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>
```

この設定の後、ブラウザーにhttpで始まるURLを入力すると、httpsで始まるセキュアURLに自動的にリダイレクトされます。