开发者社区> 问答> 正文

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

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"
          />

展开
收起
晓生寒 2018-12-14 16:26:14 3484 0
1 条回答
写回答
取消 提交回答
  • 前一个帐号wangccsy@126.com不知道怎么的就成了企业帐号,改不成个人。所以重新注册了一个个人帐号。老程序员。精通JAVA,C#,数据库,对软件开发过程和流程熟悉。考取系统分析师,项目管理师和系统架构设计师等软件资格考试认证。愿意和大家一起前进。

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

    2019-07-17 23:21:12
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《3-Alibaba Dragonwell 在Alibaba Cloud Linux 3上的应用及优化》 立即下载
Alibaba Cloud Linux 3 技术揭秘 立即下载
Alibaba Cloud Linux 3 发布 立即下载