1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

tomcatのSSL/TLS化

Last updated at Posted at 2017-12-17

1. キーストアファイル作成

keytool -genkey -alias tomcat -keyalg RSA -keystore /(keystoreの保存先)/.keystore
  1. server.xml編集
    server.xmlのConnectorを編集
    <Connector port="8443"
                             protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150"
                              SSLEnabled="true"
                             scheme="https"
                             secure="true"
               clientAuth="false"
                             sslProtocol="TLS"
               keystoreFile="/(keystoreの保存先)/.keystore" #←追加
               keystorePass="(keystoreのパスワード)" #←追加
               URLEncoding="UTF-8" />

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?