<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142595#M799521</link>
    <description>&lt;P&gt;Hello Dundi.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Probably it is the Java version on the target server. &lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Aug 2017 08:09:34 GMT</pubDate>
    <dc:creator>corina</dc:creator>
    <dc:date>2017-08-03T08:09:34Z</dc:date>
    <item>
      <title>Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142594#M799520</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I'm using POST method and I need to get 200 response and a json data. But I facing the following issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/68483i3FF1AAF2FC554C4D/image-size/large?v=v2&amp;amp;px=999" title="Selection_067.png" alt="Selection_067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine in other instance when the same headers with no authentication are given. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Dundi Vinayak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="chirag.bagdai" __default_attr="111828" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="111828" data-objecttype="3" data-orig-content="chirag.bagdai" data-renderedposition="640.7244262695312_7.997159004211426_102_15" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=fa829ee9dbd81fc09c9ffb651f96193c"&gt;chirag.bagdai&lt;/A&gt;&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="2218" data-objecttype="3" data-orig-content="ctomasi" data-renderedposition="640.7244262695312_110.18465423583984_66_15" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt;&lt;A title="joshnerius" __default_attr="8342" __jive_macro_name="user" class="jive-link-profile-small jive_macro jive_macro_user" data-id="8342" data-objecttype="3" data-orig-content="joshnerius" data-renderedposition="640.7244262695312_176.5625_82_15" data-type="person" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=e6509e29db581fc09c9ffb651f9619da"&gt;joshnerius&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:38:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142594#M799520</guid>
      <dc:creator>dundi</dc:creator>
      <dc:date>2017-08-03T07:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142595#M799521</link>
      <description>&lt;P&gt;Hello Dundi.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Probably it is the Java version on the target server. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 08:09:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142595#M799521</guid>
      <dc:creator>corina</dc:creator>
      <dc:date>2017-08-03T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142596#M799522</link>
      <description>&lt;P&gt;Hello Dundi,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Do you have any SSL certificate that you have uploaded in the trsut store for this outbounf REST call?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;We have Protocol Profile in Rest Message where you can choose a SSL entry. You need to create this SSL entry in Protocol Profile table. Also if you name your protocol profile as xyz then when yo make a Test Rest call you will notice that servicenow place this protocol profile name in front of your rest URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;Also did you try to do the POST using a 3rd party application like POSTMAN and then see the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;Reference:&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;A title="Outbound REST web service with one-way SSL certificate Authentication" __default_attr="218000" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Outbound REST web service with one-way SSL certificate Authentication" data-renderedposition="220_8_472_16" href="https://www.servicenow.com/community?id=community_question&amp;amp;sys_id=5d4a87a9db5cdbc01dcaf3231f961931"&gt;Outbound REST web service with one-way SSL certificate Authentication&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 08:50:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142596#M799522</guid>
      <dc:creator>dravvyramlochun</dc:creator>
      <dc:date>2017-08-03T08:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142597#M799523</link>
      <description>&lt;P&gt;Hi Dravvy&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here is my post man response.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/68484iE3AD6EF294F155AE/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;And background scripts &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/68487i88E9A08A5A88D5AF/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Result&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/68486i3B70DDE3BBE4998F/image-size/large?v=v2&amp;amp;px=999" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:09:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142597#M799523</guid>
      <dc:creator>dundi</dc:creator>
      <dc:date>2017-08-03T09:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142598#M799524</link>
      <description>&lt;P&gt;Does your target machine/server support TLS 1.2? &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What is your Java version on the target machine?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:22:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142598#M799524</guid>
      <dc:creator>dravvyramlochun</dc:creator>
      <dc:date>2017-08-03T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142599#M799525</link>
      <description>&lt;P&gt;I'm not clear on that end!! I'm using jakartha version&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:24:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142599#M799525</guid>
      <dc:creator>dundi</dc:creator>
      <dc:date>2017-08-03T09:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142600#M799526</link>
      <description>&lt;P&gt;You are making a POST from your servicenow instance to another endpoint. As if i understood well you are doing an Outbound REST call. On the machine where the endpoint is hosted, what java version do you have? Does it support TLS 1.2?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:31:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142600#M799526</guid>
      <dc:creator>dravvyramlochun</dc:creator>
      <dc:date>2017-08-03T09:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142601#M799527</link>
      <description>&lt;P&gt;Java version is 1.8 &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 11:13:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142601#M799527</guid>
      <dc:creator>dundi</dc:creator>
      <dc:date>2017-08-03T11:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142602#M799528</link>
      <description>&lt;P&gt;Is you trying to communicate with a system that uses a self-signed key? This may help?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/2308774/httpget-with-https-sslpeerunverifiedexception" title="https://stackoverflow.com/questions/2308774/httpget-with-https-sslpeerunverifiedexception"&gt;java - HttpGet with HTTPS : SSLPeerUnverifiedException - Stack Overflow&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:05:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142602#M799528</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2017-08-03T13:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142603#M799529</link>
      <description>&lt;P&gt;Hi Dundi,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can set the following property to false, this will cause the HTTPClient to not make the hostname verification against the ssl certificate provided.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;"com.glide.communications.httpclient.verify_hostname" &amp;nbsp; &amp;gt;&amp;gt; false&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Hope it will solve your issue&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:07:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142603#M799529</guid>
      <dc:creator>Sami S_</dc:creator>
      <dc:date>2017-08-22T16:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142604#M799530</link>
      <description>&lt;P&gt;Hi Sami&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks it worked!!, besides can you give me brief on why that error has occurred? &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Dundi Vinayak&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Aug 2017 05:15:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142604#M799530</guid>
      <dc:creator>dundi</dc:creator>
      <dc:date>2017-08-28T05:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142605#M799531</link>
      <description>&lt;P&gt;Thank you! Thank you! Thank you! Thank you! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 02:55:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142605#M799531</guid>
      <dc:creator>michaeljavier</dc:creator>
      <dc:date>2019-01-22T02:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142606#M799532</link>
      <description>&lt;P&gt;unable to set that parameter to false. does anyone know how to set that verify_hostname to false?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 06:52:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142606#M799532</guid>
      <dc:creator>rajtkt</dc:creator>
      <dc:date>2019-02-28T06:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142607#M799533</link>
      <description>&lt;P&gt;How can I set this property&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-scope"&gt;"com.glide.communications.httpclient.verify_hostname" &amp;nbsp; &amp;gt;&amp;gt; false&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-scope"&gt;I am new to SN. Where are the properties&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ng-scope"&gt;THank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 04:56:57 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142607#M799533</guid>
      <dc:creator>Deepali5</dc:creator>
      <dc:date>2020-01-07T04:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142608#M799534</link>
      <description>&lt;P&gt;You may find this page helpful:&amp;nbsp;&lt;A href="https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/reference-pages/task/t_CreatingAPropertiesModule.html" target="_blank" rel="noopener noreferrer nofollow"&gt;Create a system properties module | ServiceNow Docs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Don't ask my why we don't have this module by default. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here's another way to do it if you don't want to create a module:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/reference-pages/task/t_AddAPropertyUsingSysPropsList.html" target="_blank" rel="noopener noreferrer nofollow"&gt;Add a system property&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 13:15:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142608#M799534</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2020-01-07T13:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help on REST with Error:: org.apache.commons.httpclient.HttpException: SSLPeerUnverifiedException</title>
      <link>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142609#M799535</link>
      <description>&lt;P&gt;Hello &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="8292da2ddbd81fc09c9ffb651f9619aa"&gt;@Sami S.&lt;/SN-MENTION&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please let me know where I can find this property of HTTP client?&lt;/P&gt;
&lt;P&gt;THank you in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 10:25:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/help-on-rest-with-error-org-apache-commons-httpclient/m-p/2142609#M799535</guid>
      <dc:creator>Navaneeth1</dc:creator>
      <dc:date>2021-05-21T10:25:02Z</dc:date>
    </item>
  </channel>
</rss>

