相关疑难解决方法(0)

设置 tomcat + ssl 失败.. 无法连接到 SSL 通道?

我正在尝试让 Tomcat 6.0.20 使用 SSL 身份验证。我使用 keytool 创建了一个新证书,将其放入我的用户目录中,并将 tomcat 身份验证设置为此(server.xml):

 (Omitted)
 -->
<Server port="8005" shutdown="SHUTDOWN">

  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" SSLRandomSeed="builtin" />
  <!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
  <Listener className="org.apache.catalina.core.JasperListener" />
  <!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />

  <!-- Global JNDI resources
       Documentation at /docs/jndi-resources-howto.html
  -->
  <GlobalNamingResources>
    <!-- Editable user database that can also be used by
         UserDatabaseRealm to authenticate …
Run Code Online (Sandbox Code Playgroud)

connection ssl configuration tomcat

3
推荐指数
1
解决办法
6629
查看次数

标签 统计

configuration ×1

connection ×1

ssl ×1

tomcat ×1