{"id":1812,"date":"2014-03-05T23:08:28","date_gmt":"2014-03-05T22:08:28","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=1812"},"modified":"2014-03-06T11:34:48","modified_gmt":"2014-03-06T10:34:48","slug":"java-error-failed-to-validate-certificate-the-application-will-not-be-executed","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/java-error-failed-to-validate-certificate-the-application-will-not-be-executed\/","title":{"rendered":"Java Error: Failed to validate certificate. The application will not be executed"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_1812 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_1812')){$('.twoclick_social_bookmarks_post_1812').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Java%20Error%3A%20Failed%20to%20validate%20certificate.%20The%20application%20will%20not%20be%20executed\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Alast%20week%20a%20customer%20had%20the%20problem%20that%20he%20wants%20to%20connect%20to%20the%20administration%20interface%20of%20a%20Brocade%20FC%20Switch%20but%20the%20Java%20Applet%20did%20not%20start.%20This%20error%20message%20was%20shown%3A%20%22Failed%20to%20validate%20certificate.%20The%20application%20will%20not%20be%20executed%22%0D%0A%0D%0A%0D%0A%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/java-error-failed-to-validate-certificate-the-application-will-not-be-executed\\\/\",\"post_id\":1812,\"post_title_referrer_track\":\"Java+Error%3A+Failed+to+validate+certificate.+The+application+will+not+be+executed\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>last week a customer had the problem that he wants to connect to the administration interface of a Brocade FC Switch but the Java Applet did not start. This error message was shown: &#8220;Failed to validate certificate. The application will not be executed&#8221;<\/p>\n<figure id=\"attachment_1813\" aria-describedby=\"caption-attachment-1813\" style=\"width: 514px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1813\" alt=\"Failed to validate certificate. The application will not be executed\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error.png\" width=\"514\" height=\"182\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error.png 514w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error-300x106.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/a><figcaption id=\"caption-attachment-1813\" class=\"wp-caption-text\">Failed to validate certificate. The application will not be executed<\/figcaption><\/figure>\n<p><!--more--><\/p>\n<p>A detailed look into the certificate shows that a signature algorithm MD2withRSA was used to create it.<\/p>\n<figure id=\"attachment_1817\" aria-describedby=\"caption-attachment-1817\" style=\"width: 434px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_info.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1817 \" alt=\"Java Certificate error\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_info.png\" width=\"434\" height=\"358\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_info.png 542w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_info-300x247.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/a><figcaption id=\"caption-attachment-1817\" class=\"wp-caption-text\">Java Certificate error<\/figcaption><\/figure>\n<figure id=\"attachment_1818\" aria-describedby=\"caption-attachment-1818\" style=\"width: 533px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_detail.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1818 \" alt=\"Java certificate details\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_detail.png\" width=\"533\" height=\"329\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_detail.png 666w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2014\/03\/Java_cert_error_detail-300x185.png 300w\" sizes=\"auto, (max-width: 533px) 100vw, 533px\" \/><\/a><figcaption id=\"caption-attachment-1818\" class=\"wp-caption-text\">Java certificate details<\/figcaption><\/figure>\n<p>MD2 is disabled in java by default also a RSA key with less then 1024bits. Because these are no longer considered as secure and therefore java reject such certificates.<\/p>\n<p>You can disable this check, because you have start the applet to access your FC Switch. Locate the file java.security in the lib\/security folder of your java installation and comment the following:<br \/>\n<code><br \/>\n# jdk.certpath.disabledAlgorithms=MD2, RSA keySize &lt; 1024<br \/>\n<\/code><\/p>\n<p>The applet should start now but for security reasons it is recommended to reverse this change if it is no longer needed.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, last week a customer had the problem that he wants to connect to the administration interface of a Brocade FC Switch but the Java Applet did not start. This error message was shown: &#8220;Failed to validate certificate. The application will not be executed&#8221;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[466],"tags":[464,463,462,465],"class_list":["post-1812","post","type-post","status-publish","format-standard","hentry","category-security","tag-certitificate","tag-failed-to-validate-certificate-the-application-will-not-be-executed","tag-java","tag-md2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=1812"}],"version-history":[{"count":4,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1812\/revisions"}],"predecessor-version":[{"id":1820,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1812\/revisions\/1820"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=1812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=1812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=1812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}