Skip to content

Commit

Permalink
Merge pull request #22 from FusionAuth/degroff/sni
Browse files Browse the repository at this point in the history
Remove jsse.enableSNIExtension:false.
  • Loading branch information
robotdan authored Apr 26, 2024
2 parents 701f0cf + 53f882c commit c930933
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/io/fusionauth/http/security/SecurityTools.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, FusionAuth, All Rights Reserved
* Copyright (c) 2022-2024, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,11 +51,6 @@ public final class SecurityTools {

public static final String P8_KEY_START = "BEGIN PRIVATE KEY-----";

// Disable SNI so that it doesn't mess up our use of JSSE with some certificates
static {
System.setProperty("jsse.enableSNIExtension", "false");
}

private SecurityTools() {
}

Expand Down

0 comments on commit c930933

Please sign in to comment.