Skip to content

Commit

Permalink
Merge pull request quarkusio#24182 from sberyozkin/quarkus_rest_clien…
Browse files Browse the repository at this point in the history
…t_builder_tls

Change protocol name to TLS in QuarkusRestClientBuilder
  • Loading branch information
gsmet authored Mar 9, 2022
2 parents 18b4520 + 957fbb4 commit a0dbd8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ private void configureTrustAll(ResteasyClientBuilder clientBuilder) {
if (trustAll.isPresent() && trustAll.get()) {
clientBuilder.hostnameVerifier(new NoopHostnameVerifier());
try {
SSLContext sslContext = SSLContext.getInstance("SSL");
SSLContext sslContext = SSLContext.getInstance("TLS");
sslContext.init(null, new TrustManager[] { new PassthroughTrustManager() },
new SecureRandom());
clientBuilder.sslContext(sslContext);
Expand Down

0 comments on commit a0dbd8f

Please sign in to comment.