GoDaddy SSL 证书密钥库安装 Tomcat7 [英] GoDaddy SSL Certificate Keystore Installation Tomcat7

查看:40
本文介绍了GoDaddy SSL 证书密钥库安装 Tomcat7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近为我的网站购买了一个 SSL 证书,并在生成密钥库时遇到了一些奇怪的事情.在 Godaddy 教程 中说要导入根证书,安装中间证书并将颁发的证书安装到密钥库中.

I recently bought ann SSL certificate for my website and came across something weird when generating the keystore. In the Godaddy Tutorial it says to import the root certificate, install the intermediate certificate and install the issued certificate into the keystore.

从 GoDaddy 下载文件时,虽然它给了我三个 .crt 文件.一个具有十六进制名称,即实际证书,另外两个文件名:gdig2.crt 和 gd_bundle-g2-g1.crt.

When downloading the files from GoDaddy though it gives me three .crt files. One having a hex name which is the actual certificate and two others files name: gdig2.crt and gd_bundle-g2-g1.crt.

我想如何以他们所做的方式使用导入这些文件?

How am I suppose to use import these files in the fashion that they do?

注意:查看捆绑文件时,它包含 3 个证书.

Note: when looking at the bundle file it contains 3 certificates.

推荐答案

您需要拥有包含您的私钥(和临时证书)的现有密钥库.如果您丢失了它,您需要重新开始,生成新的私钥、证书和 CSR,并将其发送给您的 CA 进行替换.

You will need to have your existing keystore which contains your private key (and provisional certificate). If you've lost that, you'll need to start over again by generating a new private key, cert, and CSR,and sent it to your CA for a replacement.

然后,每次使用此命令导入您从 CA (GoDaddy) 收到的证书:

Then, import the certificates you received from your CA (GoDaddy) using this command each time:

$ keytool -importcert -trustcacerts -keystore [yourstore.jks] 
    -alias [certname] < [certificate].crt

按照 GoDaddy 建议的顺序导入证书.在开始之前,您可能需要复制您的密钥库,以防万一您破坏了所有内容.

Import the certs in the order in which GoDaddy suggested. You may want to make a copy of your keystore before you begin, just in case you break everything.

这篇关于GoDaddy SSL 证书密钥库安装 Tomcat7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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