<?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: Unable to use Client Certificate Authentication with CCP in Secrets Management</title>
    <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346602#M799</link>
    <description>&lt;P&gt;@Manikandan Krishnasamy​&amp;nbsp; No, couldn't make it work so far.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Dec 2020 14:03:32 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2020-12-23T14:03:32Z</dc:date>
    <item>
      <title>Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346596#M793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying implement Client Certificate Authentication with CCP but all my efforts are going in vain, hence, expecting some help from the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our users are currently using CCP with only "Allowed Machines" method  without any issues and now the ask is to add the Certificate Authentication along with allowed machines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the CyberArk documentation and below are high level steps that I have done as part of the POC:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the IIS &amp;gt; AIMWebService, I have checked the "Require SSL" box and tested with "Accept" and "Require" Client Certificates. (PVWA certificate is in place and https is working)&lt;/LI&gt;&lt;LI&gt;Created a self-signed certificate&lt;/LI&gt;&lt;LI&gt;Imported the certificate on IIS server Trusted Root Certificate authority. (Tried testing with both public cert and Cert with Private Key)&lt;/LI&gt;&lt;LI&gt;Imported the certificate on the application machine (Windows) in the personal store (with priv key) to be used while doing REST call.&lt;/LI&gt;&lt;LI&gt;Added the serial number in the Authentication Methods of the Application&lt;/LI&gt;&lt;LI&gt;Used CyberArk provided Powershell REST API script : https://cyberark-customers.force.com/s/article/CCP-Client-Certificate-Authentication-Example-Script&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output is always:&lt;/P&gt;&lt;P&gt;&lt;I&gt;Invoke-RestMethod :&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;403 - Forbidden: Access is denied.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Server Error&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;403 - Forbidden: Access is denied.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;You do not have permission to view this directory or page using the credentials that you supplied&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone configured or using Client Certificate Authentication along with "Allowed Machines" or the Client Certificate authentication alone?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any steps that I am missing or something needs to be done differently?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 17:40:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346596#M793</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-10-29T17:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346597#M794</link>
      <description>&lt;P&gt;yes I got it working. did you install windows role "IIS Client Certificate Mapping Authentication"&lt;/P&gt;&lt;P&gt;most probably you are not passing certificate incorrectly. use Pspas credential retriever to pass certificate in rest call&lt;/P&gt;&lt;P&gt;https://github.com/pspete/CredentialRetriever/tree/master/CredentialRetriever/Functions &lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 12:10:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346597#M794</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-02T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346598#M795</link>
      <description>&lt;P&gt;yes I got it working. did you install windows role "IIS Client Certificate Mapping Authentication"&lt;/P&gt;&lt;P&gt;most probably you are not passing certificate incorrectly. use Pspas credential retriever to pass certificate in rest call&lt;/P&gt;&lt;P&gt;https://github.com/pspete/CredentialRetriever/tree/master/CredentialRetriever/Functions &lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 12:10:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346598#M795</guid>
      <dc:creator>AnkushA</dc:creator>
      <dc:date>2020-11-02T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346599#M796</link>
      <description>&lt;P&gt;Hi @Ankush Agarwal​&amp;nbsp;, The windows server role "IIS Client Certificate Mapping Authentication" was not installed, which I have installed it now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I have imported the psPAS credential retriever module and tested the certificate authentication with get-ccpcredential, but still getting the same 403 error .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__0682J00000CCQ0yQAH.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/78840i3DC3AA6C2B3DA53E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__0682J00000CCQ0yQAH.png" alt="Field_Content_versions_oct20__0682J00000CCQ0yQAH.png" /&gt;&lt;/span&gt;psPAS have two ways to parameters for passing certificate. One is via CertificateThumbprint and second is via the actual certificate.&lt;/P&gt;&lt;P&gt;Here is how I am passing the actual certificate:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Certificate from Current User personal store:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;$certThumbprint = "&amp;lt;thumbprint&amp;gt;"&lt;/P&gt;&lt;P&gt;$certPath = "Cert:\CurrentUser\My\" + $certThumbprint&lt;/P&gt;&lt;P&gt;$myCert = Get-ChildItem -Path $certPath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Certificate from LocalMachine personal store:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;$certThumbprint = "&amp;lt;Thumbprint&amp;gt;"&lt;/P&gt;&lt;P&gt;$certPath = "Cert:\LocalMachine\My\" + $certThumbprint&lt;/P&gt;&lt;P&gt;$myCert = Get-ChildItem -Path $certPath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$pass = Get-CCPCredential -AppID AppRatulTest -Safe &amp;lt;SafeName&amp;gt; -Object ratul_API_TEST -URL &amp;lt;https://PVWA&amp;gt; -Certificate $myCert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;FYI : &lt;/B&gt;Get-CCPCredential is working without the certificate authentication.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 05:34:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346599#M796</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-04T05:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346600#M797</link>
      <description>&lt;P&gt;@Pete Maan​&amp;nbsp; Would you be able to suggest something here?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 04:31:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346600#M797</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-11-06T04:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346601#M798</link>
      <description>&lt;P&gt;@Ratul Gandhi​&amp;nbsp; we are also facing the same issue while to try to get the password using  CCP with Certificate authentication getting following error. Did you get any solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-RestMethod :&amp;nbsp;&lt;/P&gt;&lt;P&gt;403 - Forbidden: Access is denied.&lt;/P&gt;&lt;P&gt;Server Error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;403 - Forbidden: Access is denied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;You do not have permission to view this directory or page using the credentials that you supplied&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 05:01:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346601#M798</guid>
      <dc:creator>mkris</dc:creator>
      <dc:date>2020-12-22T05:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346602#M799</link>
      <description>&lt;P&gt;@Manikandan Krishnasamy​&amp;nbsp; No, couldn't make it work so far.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:03:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346602#M799</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2020-12-23T14:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346603#M800</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;After testing with certificates generated in the Microsoft CA, we found out that we have an SSL certificate that is not valid to use an app_id. A certificate with user signature template has been generated, added the serial number in the app and the thumbprint in the powershell script and works correctly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 13:57:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346603#M800</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-01-13T13:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346604#M801</link>
      <description>&lt;P&gt;We had a very similar issue. Found out it was as we had a non-self signed certificate in the 'Local machine' ROOT certificate store. If you have this is breaks the client authentication and you get the 403 - Forbidden error.&lt;/P&gt;&lt;P&gt;See&lt;/P&gt;&lt;P&gt;&lt;A alt="https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue" href="https://stackoverflow.com/questions/26247462/http-error-403-16-client-certificate-trust-issue" target="_blank"&gt;iis - HTTP error 403.16 - client certificate trust issue - Stack Overflow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 02:19:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346604#M801</guid>
      <dc:creator>royboy</dc:creator>
      <dc:date>2021-01-21T02:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346605#M802</link>
      <description>&lt;P&gt;Thanks @adminpki​&amp;nbsp; @Tony Dowling​&amp;nbsp; I'll do some test as per your suggestions and update here.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 15:42:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346605#M802</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-01-27T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346606#M803</link>
      <description>&lt;P&gt; IIS log files in %WINDIR%\System32\Logfiles  gives  the exact cause of  403 forbidden -Access denied error.   My issue happend due to 403.16&amp;nbsp; similar to @Tony Dowling​&amp;nbsp;  (Link :  &lt;A alt="https://docs.microsoft.com/en-us/troubleshoot/iis/http-403-forbidden-access-website" href="https://docs.microsoft.com/en-us/troubleshoot/iis/http-403-forbidden-access-website" target="_blank"&gt;HTTP Error 403.16 when you access a website - Internet Information Services | Microsoft Docs&lt;/A&gt;) After cleaning up  the store it worked. Few more discoveries from our testing  that may help you saving troubleshooting time: &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Cyberark CCP  installation document  (&lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CCP/CCP-Installation.htm?tocpath=Installation%7CCentral%20Credential%20Provider%7C_____1" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-CP/Latest/en/Content/CCP/CCP-Installation.htm?tocpath=Installation%7CCentral%20Credential%20Provider%7C_____1" target="_blank"&gt;Install the Central Credential Provider | CyberArk Docs&lt;/A&gt;) not mentioned any where  in the docs to turn on server  (CertificateMappingAuthenticationModule"&amp;nbsp;and "IISCertificateMappingAuthenticationModule"&amp;nbsp;) roles,  our testing confirms certificate validation of SN# implemented  inside server side code  of CCP software .&lt;/LI&gt;&lt;LI&gt;CCP client authentication  validates Serial  Number of the  certificate , not  thumbprint &lt;/LI&gt;&lt;LI&gt;CCP server  requires only root  certificate  in ROOT certificate store and  if client certificate  signed with  any  intermediate certificates , then  these certs  should be placed in intermediate certificate store.&lt;/LI&gt;&lt;LI&gt;Make sure to use  applicable client certificate EKU and Key usages and subject Alternative names  on client certificate  and verify certificate is  OK  .&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 04:44:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346606#M803</guid>
      <dc:creator>Shashi</dc:creator>
      <dc:date>2021-02-12T04:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346607#M804</link>
      <description>&lt;P&gt;Hi @Shashidhar Pullkandam​&amp;nbsp;I've got the certificates in the certificate store on CCP. Which certificates should I place at the application end?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've two options at application web console, either to upload the Client Certificate or Server Certificate. Do I've to upload the certificate that the application url uses or the CCP certificate? If it is CCP, will it be safe to share my CCP server pfx?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was in a impression that Application url certificate needs to be mapped under Client/Server certificate and I've to add that certificate serial number in PVWA, is my understanding correct?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 01:46:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346607#M804</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-08-06T01:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346608#M805</link>
      <description>&lt;P&gt;Do not share or use  CCP server pfx  certificates  which contains private key to the end points where application resides.&lt;/P&gt;&lt;P&gt;Do not use Server Certificates and Serial Numbers  for  CCP Client Certificate Authentication feature. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create  Client Certificate with private key  and deploy in Client Application Keystores/Certificate stores . If  client certificate signed with  chain of intermediate and root certificates  then place  root signed certificate in CCP  Servers certificate store.&lt;/P&gt;&lt;P&gt;Register Client certificate  Serial Number in  PVWA-&amp;gt;Application ID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:53:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346608#M805</guid>
      <dc:creator>Shashi</dc:creator>
      <dc:date>2021-08-11T17:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to use Client Certificate Authentication with CCP</title>
      <link>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346609#M806</link>
      <description>&lt;P&gt;Hi, I faced the same issue, and the error details provided by IIS Logs were :&lt;/P&gt;&lt;P&gt;sc-status : 403  &lt;/P&gt;&lt;P&gt;sc-substatus : 16 &lt;/P&gt;&lt;P&gt;sc-win32-status : 2148204809&lt;/P&gt;&lt;P&gt;time-taken :  46 &lt;/P&gt;&lt;P&gt;I followed this solution : https://docs.microsoft.com/en-us/troubleshoot/iis/http-403-forbidden-access-website&lt;/P&gt;&lt;P&gt;The root cause was the presence of not-self-signed certificates in Intermediate CA and Trusted RootCA certificates stores.&lt;/P&gt;&lt;P&gt;The solution was by removing the not-self-signed certificates from both stores.&lt;/P&gt;&lt;P&gt;Hope it will help.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 13:02:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/secrets-management/unable-to-use-client-certificate-authentication-with-ccp/m-p/1346609#M806</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-09-21T13:02:46Z</dc:date>
    </item>
  </channel>
</rss>

