码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2014-06-10 07:45:40      阅读:368      评论:0      收藏:0      [点我收藏+]

标签:jks   keytool   www.googleapis.com   

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


bubuko.com,布布扣

 

(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
    bubuko.com,布布扣


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

How to import the www.googleapis.com SSL CA certification to the jks store file?,布布扣,bubuko.com

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

标签:jks   keytool   www.googleapis.com   

原文地址:http://blog.csdn.net/chancein007/article/details/29642625

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!