Skip to content

Commit 6fb2d8e

Browse files
fix(ssl): fixed env var behaves unexpectedly (#1570) (#1576)
(cherry picked from commit 803c132) Co-authored-by: Atif Ali <[email protected]>
1 parent 07f0cb8 commit 6fb2d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/cryostat/net/SslConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class SslConfiguration {
6363
this.fs = fs;
6464
this.logger = logger;
6565

66-
if (env.hasEnv(Variables.DISABLE_SSL)) {
66+
if ("true".equals(env.getEnv(Variables.DISABLE_SSL))) {
6767
strategy = new NoSslStrategy();
6868
logger.info("Selected NoSSL strategy");
6969
return;

0 commit comments

Comments
 (0)