<?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>topic Re: I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ? in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407709#M84044</link>
    <description>Hi Sanzu,

Thank you for your response.

However, I am not developing a PowerShell script; I am building a REST API CPM plugin, which is documented here:
https://docs.cyberark.com/pam-self-hosted/latest/en/content/plugins/cpm-plugins-rest-api.htm

Could you please provide a solution for disabling certificate validation within the context of a CPM REST API plugin?

Thanks,
Haim Marko</description>
    <pubDate>Tue, 16 Dec 2025 15:01:12 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-12-16T15:01:12Z</dc:date>
    <item>
      <title>I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407707#M84042</link>
      <description>&lt;P&gt;16/12/2025 05:12:50.349 | ERROR -&amp;gt; BaseAction :: HandleGeneralError -&amp;gt; Received exception: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---&amp;gt; System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 05:48:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407707#M84042</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-12-16T05:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407708#M84043</link>
      <description>&lt;P&gt;hi @Haim Marko​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Place below snippet anywhere in your PowerShell script to ignore Certificate validation.&lt;/P&gt;&lt;CODE&gt;[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 14:44:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407708#M84043</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2025-12-16T14:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407709#M84044</link>
      <description>Hi Sanzu,

Thank you for your response.

However, I am not developing a PowerShell script; I am building a REST API CPM plugin, which is documented here:
https://docs.cyberark.com/pam-self-hosted/latest/en/content/plugins/cpm-plugins-rest-api.htm

Could you please provide a solution for disabling certificate validation within the context of a CPM REST API plugin?

Thanks,
Haim Marko</description>
      <pubDate>Tue, 16 Dec 2025 15:01:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407709#M84044</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-12-16T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407710#M84045</link>
      <description>&lt;P&gt;@Haim Marko​&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are using XML based Rest API plugin. I was under impression that you are using Process.ini and Prompts.ini file with some sort scripts to manage the password. Thanks for clarification. I don't think XML file can bypass Certificate Validation as I myself have never done to bypass certificate validation. However, I have pasted some sample snippet for xml and you may try if that can help. Nevertheless, I can suggest you install that self-signed certificate inside Trusted root if it completely self-signed or inside Intermediate Root Store in your CPM server if cert is not self-signed as well as if web site has static ip then you can map those ip and fqdn in hosts file too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sample XML snippet. &lt;/P&gt;&lt;CODE&gt;&amp;lt;configuration&amp;gt;
  &amp;lt;system.net&amp;gt;
    &amp;lt;settings&amp;gt;
      &amp;lt;servicePointManager
        checkCertificateName="false"
        checkCertificateRevocationList="false" /&amp;gt;
    &amp;lt;/settings&amp;gt;
  &amp;lt;/system.net&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/CODE&gt;&lt;P&gt; &lt;B&gt;Application-specific XML settings&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Some tools allow this via XML because &lt;B&gt;they implement the bypass internally&lt;/B&gt;.&lt;/P&gt;&lt;CODE&gt;&amp;lt;ssl&amp;gt;
  &amp;lt;trustAllCertificates&amp;gt;true&amp;lt;/trustAllCertificates&amp;gt;
&amp;lt;/ssl&amp;gt;
&amp;nbsp;
&amp;nbsp;
OR
&amp;nbsp;
&amp;lt;security&amp;gt;
  &amp;lt;validateCertificates&amp;gt;false&amp;lt;/validateCertificates&amp;gt;
&amp;lt;/security&amp;gt;
&amp;nbsp;
✅ This works only if the application explicitly supports it.&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 15:09:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407710#M84045</guid>
      <dc:creator>Sanzu</dc:creator>
      <dc:date>2025-12-16T15:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: I'm developing CPM REST plugin, my lab rest endpoint has only self signed certificate. Can i disable certificte validation somehow when using my CPM REST Plugin ?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407711#M84046</link>
      <description>&lt;P&gt;Hi @Haim Marko​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that Sanzu provided an answer to your question. Could you kindly let us know if this solution helped?&lt;/P&gt;&lt;P&gt;If so, please mark the answer as 'Select as Best' to assist other community members.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Omri&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2025 10:41:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/i-m-developing-cpm-rest-plugin-my-lab-rest-endpoint-has-only/m-p/1407711#M84046</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-12-23T10:41:41Z</dc:date>
    </item>
  </channel>
</rss>

