Installing certificate in Google API Client Library for Java: הבדלים בין גרסאות בדף
(יצירת דף עם התוכן "To be able to use the [http://Google%20API%20Client%20Library%20for%20Java https://developers.google.com/api-client-library/java] or any other library that depen...") |
מ |
||
שורה 1: | שורה 1: | ||
+ | {{עמוד בעברית|התקנת תעודה עבור Google API Client Library for Java}} | ||
+ | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
+ | {{קישור אנגלית לתצוגת קריאה}} | ||
+ | {{Navigation|Security certificate}} | ||
+ | |||
To be able to use the [http://Google%20API%20Client%20Library%20for%20Java https://developers.google.com/api-client-library/java] or any other library that depends on it (see [http://here https://mvnrepository.com/artifact/com.google.api-client/google-api-client/usages] 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 [http://Google%20API%20Client%20Library%20for%20Java https://developers.google.com/api-client-library/java] or any other library that depends on it (see [http://here https://mvnrepository.com/artifact/com.google.api-client/google-api-client/usages] 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). |
גרסה מ־19:07, 11 בפברואר 2020
לעברית לחצו כאן
To switch from edit view to read view
Home page > Security certificate > Installing certificate in Google API Client Library for Java
To be able to use the https://developers.google.com/api-client-library/java or any other library that depends on it (see https://mvnrepository.com/artifact/com.google.api-client/google-api-client/usages 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 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 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.