在Tomcat Windows服务器中启用SSL [英] SSL enabling in Tomcat Windows server

查看:175
本文介绍了在Tomcat Windows服务器中启用SSL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上启用https,该网站位于Windows Server 2008和tomcat 7上。
我从证书网站获得以下文件:.ca,.crt,.pem,.csr,.pkcs

I want to enable https on my website which is on a Windows Server 2008 and tomcat 7. I have the following files from a certificate website: .ca, .crt, .pem, .csr, .pkcs

我知道我必须在tomcat的server.xml中添加以下内容:

I know that i have to add in tomcat's server.xml the following:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
           keystoreFile="/path/to/Tomcat/keystore.jks"
           keystorePass="password" /> 

如何从这些文件中获取.jks?

How to get that .jks from those files ?

推荐答案

将.pem转换为.jks:参见 https://docs.oracle.com/cd/E35976_01/server.740/es_admin/src/tadm_ssl_convert_pem_to_jks.html

Convert your .pem to a .jks: see https://docs.oracle.com/cd/E35976_01/server.740/es_admin/src/tadm_ssl_convert_pem_to_jks.html

这篇关于在Tomcat Windows服务器中启用SSL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆