• 品牌证书
    • RapidSSL - 少花钱,为简单的站点安全。 它通过 https、挂锁图标和静态信任标记提供基本级别的 访问信任。
    • Geotrust - 提供一系列数字证书和信任产品使无论大小的组织、公司能够以经济高效的方式来最大限度地提高其在线交易的安全性。
    • Digicert - 为企业和大型组织提供一揽子安全证书解决方案。 DIGICERT是SSL、IOT与 PKI解决方案领域的标杆企业。
    • PositiveSSL 证书是一种快速、经济高效且有效的在线交易安全解决方案,可向您的客户展示您正在采用同类最佳的安全措施来确保他们的交易和信息安全。
    • SECTIGO,前身为 COMODO CA,为个人、电子商务商、中小型企业建立在线信任。PositiveSSL和Sectigo都是其旗下的证书品牌。

    • GlobalSign是可信身份和安全解决方案的领先提供商,帮助世界各地的各类型企业确保其业务在线通信的安全。
    • i
      企业如何提高证书管理计划效率和实施有效的实践以避免宕机并合规?


      下载资料
  • 证书产品
    • 单域名证书
      单一个的域名保护,同时,免费赠送保护 WWW.域名。
    • 通配符证书
      当您主域下,有许多的同级子域需要保护,那么通配符证书是最合适选择。
    • 多域名证书
      多个业务分站点,或者不同品牌运营的产品站点,多站点保护的证书。
    • 基础版证书
      快捷启用HTTPS,超低预算!
      数分钟内签发。
      基本保护。
    • 企业版证书
      在线的身份识别,让客户明白他(她)们访问的是正确而非仿冒的站点。 获取客户与访客信任。
    • 至臻版证书
      又名增强型,扩展型证书。 完美适用电商类,银行,金融,保险等交易类,大型企业的站点与应用。
    • 邮件安全证书
      又名客户端证书,S/MIME证书,FDA合规证书。 使用 S/MIME 加密和签名电子邮件,启用两步身份验证,并通过高度通用的客户端证书在整个组织中实施强大的数字信任实践。
    • 代码签名证书
      通过代码签名提高软件采用率并提高用户的信任度。 对 Code、Adobe Air、Apple 平台、Java、Mozilla 对象文件以及 MS Office 宏和 VBA 应用程序进行数字签名。
    • 国密算法SSL证书 | 国密改造
      双证书模式,使政企单位在使用国产密码算法保护数据,合规的同时,确保SSL证书平滑运行在不同系统环境。 我们的成熟的国密改造方案已经在多个行业实践,让您尽快完成部署并合规。
  • 电子认证服务
    • 电子签章
      覆盖全场景的签章应用需求,支持多端电子签章应用、支持多种格式的电子签章、支持多种签章应用方式,符合国家及行业签章标准,为千行百业无纸化应用提供安全保障。
    • 电子合同签署系统
      集“电子印章、电子合同”于一体,可无缝对接到企业各个业务系统,实现电子印章的统一管控、各类合同文件的全生命周期管理。
    • 时间戳服务
      提供可信赖的且不可抵赖的时间戳服务,基于国家标准时间源,采用 PKI 技术,实现系统时间可信,从而解决以时间为法律效力定责的一系列问题。
    • 实名认证
      以用户身份管理为核心,集身份认证、授权管理、应用资源访问控制、为政企提供用户注册、实名核验、身份鉴别等服务。
    • 数据存证
      针对客户实际业务场景,进行全流程证据链梳理,并进行即时全流程证据链存证,保障证据的真实性、合法性、关联性,保障强有力证明效力,实现证据存管核心诉求。
  • 解决方案
    • 应用或系统集成电子签方案
    • 院校解决方案
    • 供应链采购电子认证解决方案
    • 电子招投标平台
    • 电子招投标电子认证解决方案
    • 人力资源电子签解决方案
    • 消费金融电子认证解决方案
  • 智信签
  • 企业安全
    • 安全加速 SCDN
      您的一站式流量安全加速平台,集CDN,SSL 证书,Web 攻击防护、CC 攻击防御、抗DDoS,BOT 机器人分析于一身。
    • 等保方案
      为企业提供一站式等保服务, 全面覆盖等保定级备案、整改、测评阶段。 确保以短时间、高质量、优价格合规通过等保认证,获取证书
  • 微信广告
  • 关于我们
Tomcat-SSL证书安装指南

1. 保存证书文件 Save the certificate file

一旦您申请的SSL证书成功颁发,您会收到一个邮件通知您取回证书,点击邮件中的取回证书链接,就可以得到您的证书文件。此文件是一个打包文件,包含了您申请的证书类型的证书链文件、公钥证书。或 直接给您的是包含证书公钥和私钥的打包文件,有支持所有服务器类型的3种格式证书文件和各级根证书文件。


2. 导入证书 Import the certificate

请使用以下命令导入WoSign中级根证书到您的Keystore中:

Use the same process for the WoSign certificate using the keytool command:

keytool -import -trustcacerts -alias INTER -file intermediate.cer -keystore [keystore_name]

请使用以下命令导入您的证书到您的Keystore中,其中:

Use the same process for the site certificate using the keytool command, if you are using an alias then please include the alias command in the string:

keytool -import -trustcacerts -alias [keyEntry_name] -file mycert.crt -keystore [keystore_name]

以下图例为导入测试证书:In the example in this screenshot we are using a Test Certificate.



请注意:如果您在生成 keystore 没有指定名称,则不需要 -keystore 选项。

Note: If you did not specify a keystore name when the keystore was originally generated please omit the -keystore parameter from the command)

在运行此命令时会提示您输入密码,也就是您在生成 keystore 时设置的密码。

When you execute this command you will be prompted for the keystore password, please specify the password you set when you generated the keystore.

当导入证书到您的 keystore 时,一定要使用生成CSR时一样的别名(alias),同时使用 -trustcacerts 参数。如果不指定一样的别名,将不能安装成功!

When importing the certificate into your keystore use the same alias as the private key the certificate request (CSR) was created from (this will be the keyEntry listed in your keystore) and use the '-trustcacerts' parameter in your keytool -import command. If you do not specify the alias of the keyEntry your certificate will not be tied to the private key and you will not be able to use the certificate properly.

如果您忘了您的别名,请使用如下命令查看您的别名:

If you are unsure of the alias for the KeyEntry please use the following command to check the output from the keystore in order to verify the keyEntry name (alias):

keytool –list -keystore [keystore_name] -v

以下图例的别名为:tomcat。In the example in this screenshot the alias is “tomcat”.




3. 配置Tomcat

要使SSL证书正常工作,先需要给 Tomcat 配置一个SSL连接器。

Tomcat will first need a SSL Connector configured before it can accept secure connections.

Note: By default Tomcat will look for your Keystore with the file name .keystore in the home directory with the default password 'changeit'. The home directory is generally /home/user_name/ on Unix and Linux systems, and Home_Directory/conf/ on Microsoft Windows systems. -- It is possible to change the filename, password, and even location that Tomcat looks for the keystore. If you need to do this, pay special attention to #8 of Option 1 or #5 of Option 2 below.

方法一: 在server.xml文件中配置SSL连接器

Option 1 -- Configure the SSL Connector in server.xml:

把您的Keystore文件复制到Tomcat的配置文件server.xml所在目录

Copy your keystore file [keystore_name] to the home directory

用记事本打开server.xml文件

Open the file Home_Directory/conf/server.xml in a text editor

去掉"SSL Connector"配置行的注释符

Uncomment the 'SSL Connector' Configuration

一定要修改 'Connector Port'(连接端口)为:443

Make sure that the 'Connector Port' is 443

一定要指明Keystore文件名和保存路径,以及私钥密码(缺省为:changeit)

If your keystore filename is something other than the default file name ( .keystore ) and/or your keystore password is something other than default ('changeit') then you will need to specify the correct keystore filename and/or password in your connector configuration -- ex. keypass="newpassword". When you are done your connector should look something like this:

参考配置文件内容为:


保存server.xml文件

Save the changes to server.xml

重启Tomcat

Restart Tomcat

方法二: 使用AdminTool添加SSL连接器

Option 1 -- Add an SSL Connector using admintool:

启动Tomcat

Start Tomcat

启动AdminTool: http://localhost:8080/admin,请注意:缺省是没有安装AdminTool的,需要下载AdminTool并安装

Enter 'http://localhost:8080/admin' in a local browser to start admintool

输入管理员用户名和密码

Type a username and password with administrator rights

选择左边菜单的'Service'

On the left select 'Service' (Java Web Services Developer Pack)

从下拉菜单中选择'Create New Connector'(创建新的连接器)

Select 'Create New Connector' from the drop-down list on the right

'Type'(类型)选'HTTPS'

Choose 'HTTPS' in the 'Type' field

在'Port'(端口)栏输入:443,定义TCP/IP的SSL连接侦听端口

In the 'Port' field, enter '443'. This defines the TCP/IP port number on which Tomcat will listen for secure connections

输入您的Keystore名称、保存目录和私钥密码

Enter the Keystore Name and Keystore Password if (a.) your keystore is named something other than .keystore , (b.) if .keystore is located in a directory other than the home directory of the machine on which Tomcat is running, or if (c.) the password is something other than the default value of 'changeit'. If you have used the default values, you can leave these fields blank.

选中'Save'生成新的SSL连接器

Select 'Save' to save the new Connector

选中'Commit Changes' 保存新的SSL连接器信息到server.xml文件中,重启Tomcat即可。

Select 'Commit Changes' to save the new Connector information to the server.xml file so that it is available the next time Tomcat is started

4. 完成配置 Setup the server

请一定要分配443端口和一个固定的IP地址给主机(注意:防火墙一定要开放443端口TCP)。

Make sure you assign port 443 and a unique ip address to the virtual host.Note: If the server is behind a firewall please make sure port 443 has been enabled on the firewall.

在浏览器地址栏输入:https://yourdomain.com(申请证书的域名)测试您的SSL证书是否安装成功,如果成功,则浏览器下方会显示一个安全锁标志。请注意:如果您的网页中有不安全的元素,则会提供“是否显示不安全的内容”,建议修改网页删除不安全的内容。

Test your certificate by using a browser to connect to your server. Use the https protocol directive (e.g. https://your server/) to indicate you wish to use secure HTTP. The padlock icon on your browser will be displayed in the locked position if your certificates are installed correctly and the server is properly configured for SSL.





电话咨询

咨询网络安全顾问
400-050-8619

在线咨询

sales邮箱

商务咨询请联系邮箱

sales@bestcert.net

返回顶层