{"id":2784,"date":"2019-01-29T12:16:04","date_gmt":"2019-01-29T10:16:04","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=2784"},"modified":"2019-01-29T12:16:04","modified_gmt":"2019-01-29T10:16:04","slug":"exchange-api-for-java-allow-all-type-of-certificates","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=2784","title":{"rendered":"Exchange API for Java: Allow *all* type of certificates"},"content":{"rendered":"\n<p>I had troubles accessing internal Exchange servers using the <a rel=\"noreferrer noopener\" aria-label=\"EWS Java API (\u00f6ffnet in neuem Tab)\" href=\"https:\/\/github.com\/OfficeDev\/ews-java-api\" target=\"_blank\">EWS Java API<\/a> because of self-signed SSL certificates (and not matching host names), that&#8217;s why I created a patch which overrides the existing certificate check and allows all type of SSL certificates.<\/p>\n\n\n\n<p>The code can be found here: <a href=\"https:\/\/github.com\/hasselbach\/ews-java-api\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"https:\/\/github.com\/hasselbach\/ews-java-api (\u00f6ffnet in neuem Tab)\">https:\/\/github.com\/hasselbach\/ews-java-api<\/a><\/p>\n\n\n\n<p>Be aware that this is lowers the security, so you should know what you are doing before using it in productive environments!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had troubles accessing internal Exchange servers using the EWS Java API because of self-signed SSL certificates (and not matching host names), that&#8217;s why I created a patch which overrides the existing certificate check and allows all type of SSL &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=2784\">Weiterlesen <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":{"footnotes":""},"categories":[145,89,35],"tags":[151,147,31,149,150,148],"class_list":["post-2784","post","type-post","status-publish","format-standard","hentry","category-exchange","category-java","category-security","tag-api","tag-exchange","tag-java","tag-office365","tag-outlook","tag-owa"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2784"}],"version-history":[{"count":1,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2784\/revisions"}],"predecessor-version":[{"id":2785,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2784\/revisions\/2785"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}