Installing certificate in Google API Client Library for Java: הבדלים בין גרסאות בדף

מתוך ויקי נטפרי
קפיצה לניווט קפיצה לחיפוש
מ
מ
 
שורה 5: שורה 5:
  
 
To be able to use the [https://developers.google.com/api-client-library/java Google API Client Library for Java] or any other library that depends on it (see [https://mvnrepository.com/artifact/com.google.api-client/google-api-client/usages here] for a partial list), it is necessary to add Netfree's root certificate to the library's embedded certificate store.
 
To be able to use the [https://developers.google.com/api-client-library/java Google API Client Library for Java] or any other library that depends on it (see [https://mvnrepository.com/artifact/com.google.api-client/google-api-client/usages here] for a partial list), it is necessary to add Netfree's root certificate to the library's embedded certificate store.
 +
 
The certificate store is embedded in the following file: google-api-client-X.XX.X.jar. (X.XX.X symbolizes with the version number of the file).
 
The certificate store is embedded in the following file: google-api-client-X.XX.X.jar. (X.XX.X symbolizes with the version number of the file).
The certificate store can be extracted using a tool for ZIP extraction. The files location within the ZIP is at the following path: com\google\api\client\googleapis\google.jks‎.
+
 
After extraction, Netfree's certificate may be added using the [[Installation of certificate for Java Runtime|regular methods]] for Java certificate stores. Note: The password is NOT the default ("changeit") but rather "notasecret". The commands should be changed appropriately.
+
The certificate store can be extracted using a tool for ZIP extraction. The file is located within the ZIP at the following path: <code>com\google\api\client\googleapis\google.jks</code>‎.
 +
 
 +
After extraction, Netfree's certificate may be added using the [[Installation of certificate for Java Runtime|regular methods]] for Java certificate stores. Note: The password is NOT the default ("<code>changeit</code>") but rather <code>notasecret</code>. The commands should be changed appropriately.
 +
 
 
Once the certificate is added, repackage the JAR file by zipping it and changing the extension to .JAR.
 
Once the certificate is added, repackage the JAR file by zipping it and changing the extension to .JAR.

גרסה אחרונה מ־19:11, 11 בפברואר 2020

לעברית לחצו כאן

To switch from edit view to read view

To search in the Wiki

Home page > Security certificate > Installing certificate in Google API Client Library for Java ‎‎


To be able to use the Google API Client Library for Java or any other library that depends on it (see here for a partial list), it is necessary to add Netfree's root certificate to the library's embedded certificate store.

The certificate store is embedded in the following file: google-api-client-X.XX.X.jar. (X.XX.X symbolizes with the version number of the file).

The certificate store can be extracted using a tool for ZIP extraction. The file is located within the ZIP at the following path: com\google\api\client\googleapis\google.jks‎.

After extraction, Netfree's certificate may be added using the regular methods for Java certificate stores. Note: The password is NOT the default ("changeit") but rather notasecret. The commands should be changed appropriately.

Once the certificate is added, repackage the JAR file by zipping it and changing the extension to .JAR.