{"id":5151,"date":"2020-06-22T23:45:39","date_gmt":"2020-06-22T23:45:39","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=5151"},"modified":"2021-06-22T23:46:39","modified_gmt":"2021-06-22T23:46:39","slug":"java-tls1-0-tls1-1","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/java-tls1-0-tls1-1","title":{"rendered":"Java + TLS1.0\/TLS1.1"},"content":{"rendered":"<p class=\"x_MsoNormal\">Heads up that TLS1.1 and TLS1.0 are explicitly disabled in the latest version of Oracle JRE\/JDK.<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">You would think you can just go and re-enable them here but this isn\u2019t enough<\/p><p><img loading=\"lazy\" decoding=\"async\" width=\"521\" height=\"473\" class=\"alignnone size-full wp-image-5152  img-responsive\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/06\/img_60d2762d43be3.png\" alt=\"\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/06\/img_60d2762d43be3.png 521w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2021\/06\/img_60d2762d43be3-300x272.png 300w\" sizes=\"auto, (max-width: 521px) 100vw, 521px\" \/><\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">But oracle clearly doesn\u2019t trust us pesky users to do security. You also need to update your java.security file.<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">So on the box I was looking at today the file you need to edit<\/p><p class=\"x_MsoNormal\">&#8220;C:\\Program Files\\Java\\jre1.8.0_291\\lib\\security\\java.security&#8221;<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">And remove the red bits<\/p><p class=\"x_MsoNormal\">\u00a0<\/p><p class=\"x_MsoNormal\">jdk.tls.disabledAlgorithms=SSLv3<b>, TLSv1, TLSv1.1,<\/b>\u00a0RC4, DES, MD5withRSA, \\<\/p><p class=\"x_MsoNormal\">\u00a0\u00a0\u00a0 DH keySize &lt; 1024, EC keySize &lt; 224, 3DES_EDE_CBC, anon, NULL, \\<\/p><p class=\"x_MsoNormal\">\u00a0\u00a0\u00a0 include jdk.disabled.namedCurves<\/p>","protected":false},"excerpt":{"rendered":"<p>Heads up that TLS1.1 and TLS1.0 are explicitly disabled in the latest version of Oracle JRE\/JDK.\u00a0You would think you can just go and re-enable them here but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3499,3500,1673,983,2350,1131],"class_list":["post-5151","post","type-post","status-publish","format-standard","hentry","category-research","tag-1-0","tag-1-1","tag-java","tag-oracle","tag-tls","tag-update"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=5151"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5151\/revisions"}],"predecessor-version":[{"id":5153,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/5151\/revisions\/5153"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=5151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=5151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=5151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}