ユーザ アクセスに対して HTTP の代わりに常に HTTPS を使用するように CA CSM を手動で設定できます。
以下の手順に従います。
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<!-- auth-constraint goes here if you require authentication -->
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<!-- A "Connector" represents an endpoint by which requests
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking &
non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector address="123.456.789.321" port="8080"
protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="30308" />
注: 詳細については、Apache Tomcat 7.0 Servlet/JSP Container のドキュメントを参照してください。
|
Copyright © 2014 CA.
All rights reserved.
|
|