开发者社区> 问答> 正文

[@wangccsy][¥20]linux 下Tomcat 8 配置https 访问不了

晓生寒 2018-12-14 16:26:14 628

08-Jul-2018 01:48:35.176 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'SSLProtocol' to 'TLSv1+TLSv1.1+TLSv1.2' did not find a matching property.
08-Jul-2018 01:48:35.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.51
08-Jul-2018 01:48:35.262 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 9 2018 21:20:15 UTC
08-Jul-2018 01:48:35.262 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.51.0
08-Jul-2018 01:48:35.262 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
08-Jul-2018 01:48:35.263 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 4.4.0-105-generic
08-Jul-2018 01:48:35.263 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
08-Jul-2018 01:48:35.263 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/jdk1.8.0_171/jre
08-Jul-2018 01:48:35.264 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_171-b11
08-Jul-2018 01:48:35.264 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
08-Jul-2018 01:48:35.264 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/tomcat-9000
08-Jul-2018 01:48:35.265 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat-9000
08-Jul-2018 01:48:35.266 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat-9000/conf/logging.properties
08-Jul-2018 01:48:35.266 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
08-Jul-2018 01:48:35.266 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
08-Jul-2018 01:48:35.266 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
08-Jul-2018 01:48:35.267 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
08-Jul-2018 01:48:35.267 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat-9000
08-Jul-2018 01:48:35.267 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat-9000
08-Jul-2018 01:48:35.268 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat-9000/temp
08-Jul-2018 01:48:35.268 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
08-Jul-2018 01:48:35.471 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
08-Jul-2018 01:48:35.493 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Jul-2018 01:48:35.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-bio-443"]
08-Jul-2018 01:48:35.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
08-Jul-2018 01:48:35.915 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

配置

           maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
           keystoreFile="/usr/local/tomcat-9000/conf/cert/1531208406337.pfx"
           keystoreType="PKCS12"
           keystorePass="1531208406337"
           clientAuth="false"
           SSLProtocol="TLS"
          />
Oracle Java 关系型数据库 应用服务中间件 Linux Apache
分享到
取消 提交回答
全部回答(1)
  • wangccsy
    2019-07-17 23:21:12

    TLSv1+TLSv1.1+TLSv1.2不支持,你是使用SSl试试。

    0 0

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题