How to import the www.googleapis.com SSL CA certification to the jks store file?

简介:

Assumed that you have installed JDK and configured JAVA_HOME for your current operation system.
(1) Exported the Google SSL certifications from the www.googleapis.com server using 443 port as the below path:  take D:\GoogleSSL\ for example and named the these 3 CA certifications as below. Regarding on how to export thewww.googleapis.com server SSL certification, please refer to this page  http://blog.csdn.net/chancein007/article/details/25926035


 

(2) Open the CMD console and input the below commands in the command console and enter the same any protected password when the console hints that we should enter a password,
for example, Password123! , Additionally, we should enter “yes” when it hints that “Trust this certification?”
        keytool -import -v -alias GeoTrustGlobalCA -file D:\googleSSL\GeoTrustGlobalCA.cert -keystore D:\googleSSL\googleapi.jks
        keytool -import -v -alias GoogleInternetAuthorityG2 -file D:\googleSSL\GoogleInternetAuthorityG2.cert -keystore D:\googleSSL\googleapi.jks
        keytool -import -v -alias  EquifaxCA -file D:\googleSSL\EquifaxCA.cert  -keystore D:\googleSSL\googleapi.jks
 
(3) Used the keytool  -list  -keystore D:\googleSSL\googleapi.jks to check the above three SSL CA certification has been imported into the googleapi.jks
    


(4) From the above Step3, these 3 CA SSL certifications have been imported into the googleapi.jks successfully!







本文转自mfrbuaa博客园博客,原文链接:http://www.cnblogs.com/mfrbuaa/p/5042595.html,如需转载请自行联系原作者


相关文章
|
算法 网络安全 数据安全/隐私保护
证书转换-SSL证书生成:cer,jks文件 韩俊强的博客
一.生成.jks文件 资料:HTTPS-老司机手把手教你SSL证书申购-TrustAsia证书 HTTPS时代已来,手把手指导申请免费SSL证书 1、keystore的生成: 分阶段生成: keytool -genkey -alias yushan(...
7997 0
|
安全 网络协议 Java
TLS、SSL、CA 证书、公钥、私钥。。。今天捋一捋!
TLS、SSL、CA 证书、公钥、私钥。。。今天捋一捋!
|
算法 网络安全
CA/B论坛新规:9月1日起弃用SSL证书中的 OU字段
CA/B论坛投票决定,从2022年9月1日开始,全球可信CA在颁发SSL/TLS证书时,将不再使用证书中的OU字段,详情参见最新版本的CA/B论坛SSL/TLS 基线要求 (1.8.1 )。OU字段为不常用字段,新规变化对大部分用户不会产生任何不利影响。
1332 0
CA/B论坛新规:9月1日起弃用SSL证书中的 OU字段
|
网络协议 算法 网络安全
|
16天前
|
安全 算法 网络协议
解析:HTTPS通过SSL/TLS证书加密的原理与逻辑
HTTPS通过SSL/TLS证书加密,结合对称与非对称加密及数字证书验证实现安全通信。首先,服务器发送含公钥的数字证书,客户端验证其合法性后生成随机数并用公钥加密发送给服务器,双方据此生成相同的对称密钥。后续通信使用对称加密确保高效性和安全性。同时,数字证书验证服务器身份,防止中间人攻击;哈希算法和数字签名确保数据完整性,防止篡改。整个流程保障了身份认证、数据加密和完整性保护。