开发者社区> eddie小英俊> 正文

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,如需转载请自行联系原作者


版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
RSA加密:javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes
RSA加密:javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes
77 0
TLS 以及自动更新证书: Let's encrypt + acme.sh
TLS 以及自动更新证书: Let's encrypt + acme.sh
272 0
pip is configured with locations that require TLS/SSL
pip is configured with locations that require TLS/SSL
32 0
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
最近在学习TensorFlow,获取fashion_mnist数据集的时候出现了一点小问题,报错内容如下: URL fetch failure on https://storage.googleapis.com/tensorflow/tf-keras-datasets/train-labels-idx1-ubyte.gz: None -- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108) ————————————————
363 0
【微信公众号】获取用户信息cURL error 60: SSL certificate: unable to get local issuer certificate
【微信公众号】获取用户信息cURL error 60: SSL certificate: unable to get local issuer certificate
78 0
curl error: SSL certificate problem: unable to get local issuer certificate解决方案
curl error: SSL certificate problem: unable to get local issuer certificate解决方案
125 0
Apache错误日志提示AH02004: SSL Proxy: Peer certificate is expired
Apache错误日志提示AH02004: SSL Proxy: Peer certificate is expired
100 0
The handler does not support client authentication certificates with this combination of libcurl (7.54.0) and its SSL backend ("LibreSSL/2.0.20")
NET Core的跨平台大家已经有目共睹,而在MAC平台上做开发已经成为目前的主流,无论哪种语言。 在一次微服务移植的过程中,客户端需要发送Http自定义混合验证,在MonoNET上没有任何问题,而移植到NET Core 2.0并运行,就出现了错误:The handler does not support client authentication certificates with this combination of libcurl (7.54.0) and its SSL backend ("LibreSSL/2.0.20")。
1070 0
异常:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/catoop/article/details/80819638 问题 java使...
12802 0
javax.net.ssl.SSLException:hostname in certificate didn't match
终于建了一个自己个人小站:https://huangtianyu.gitee.io,以后优先更新小站博客,欢迎进站,O(∩_∩)O~~ 现在网站用https的服务器越来越多了,在编写程序的时候往往会遇到证书验证错误。
2165 0
文章
问答
文章排行榜
最热
最新
相关电子书
更多
DATA SECURITY IS NOW MORE IMPO
立即下载
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载