Skip to content

Commit

Permalink
[EDGECOMMON-79-2] Add missed setting ssl=true for WebClient (#100)
Browse files Browse the repository at this point in the history
* EDGCOMMON-78. Add ssl for OkapiClient
  • Loading branch information
SerhiiNosko authored May 17, 2024
1 parent e35fed0 commit bd00a1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/folio/edge/core/utils/OkapiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected OkapiClient(Vertx vertx, String okapiURL, String tenant, int timeout,
this.okapiURL = okapiURL;
this.tenant = tenant;
WebClientOptions options = initDefaultWebClientOptions(timeout)
.setSsl(true)
.setKeyCertOptions(keyCertOptions);
client = WebClientFactory.getWebClient(vertx, options);
initDefaultHeaders();
Expand Down
Binary file modified src/test/resources/sample_keystore.jks
Binary file not shown.

0 comments on commit bd00a1e

Please sign in to comment.