zoukankan      html  css  js  c++  java
  • 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:googleSSLGeoTrustGlobalCA.cert -keystore D:googleSSLgoogleapi.jks
            keytool -import -v -alias GoogleInternetAuthorityG2 -file D:googleSSLGoogleInternetAuthorityG2.cert -keystore D:googleSSLgoogleapi.jks
            keytool -import -v -alias  EquifaxCA -file D:googleSSLEquifaxCA.cert  -keystore D:googleSSLgoogleapi.jks
     
    (3) Used the keytool  -list  -keystore D:googleSSLgoogleapi.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!

  • 相关阅读:
    Java 网络编程的一些概念
    Java多线程之线程池
    Java多线程之线程协作
    Java多线程之线程同步
    Java 线程的基本使用
    线程的概念
    在Java中使用RabbitMQ
    Java Web
    Java 集合
    RabbitMQ的下载、安装
  • 原文地址:https://www.cnblogs.com/mfrbuaa/p/5042595.html
Copyright © 2011-2022 走看看