Skip to content

Commit

Permalink
Re-enable DTLS1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lutkerd committed May 14, 2024
1 parent 87159bb commit 164355b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/java.base/share/conf/security/java.security
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \
# Example:
# jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048
# rsa_pkcs1_sha1, secp224r1
jdk.tls.disabledAlgorithms=SSLv3, DTLSv1.0, RC4, DES, \
jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, \
MD5withRSA, DH keySize < 1024, EC keySize < 224, 3DES_EDE_CBC, anon, NULL, \
include jdk.disabled.namedCurves

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ public class SSLContextDefault {
};

private static final List<String> disabledTlsProtocols = List.<String>of(
"SSLv3""
"SSLv3"
);

private static final List<String> disabledDtlsProtocols = List.<String>of(
"DTLSv1.0"
);

public static void main(String[] args) throws Exception {
Expand Down

0 comments on commit 164355b

Please sign in to comment.