- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
11-11-2019 02:55 PM
Team - Hello. I am working on Integrating RPA (BluePrism) with CCP and my integration works fine when I use only "Allowed Machines" Authentication (with http). When I tested the CCP web service URL (http) , i was able to retrieve the password from both REST & SOAP calls. But when i added the Client Certificate Authentication, the URLs did not work, rather when i tested it gave "403: Forbidden: Access Denied", below is the screenshot
I am not sure why the powershell REST calls failed for https. Please note I have checked everything like Client certificates (in .pfx) , IIS (Require SSL, Require Client Certs), Certificate serial no etc., Even enabled TLS .1 since powershell cmdlets require those, but no help. This is not load-balanced and safe membership is all set properly.
Can someone let me know what am i missing here, to get the cert based authentication working ?
Thanks in Advance.
11-12-2019 08:46 AM
On your web server, do you have the Client Certificate stored (with the private key) in the personal certificates store?
Example from my host:
Couple of other things to check:
Issuing CA is trusted by the IIS host and the full chain is trusted.
Intended purpose says Client Authentication.
11-12-2019 12:23 AM
Check the IIS logs (actual request logs), there will be detailed error code in there... something like "403.15" which means something specific. Afaik there is also an option to diplay those detailed status codes to the user.
11-12-2019 03:14 AM
If you have multiple web hosts behind a load balancer is the cert installed on all of them, not just the one use you used create the CSR?
Also if you go to the REST CCP endpoint in a browser (with cert installed on client device) does it work? If you get the same error then the certificate isn't being accepted by the web hosts...
11-12-2019 07:19 AM
Thanks @Bernhard Brückler , I will check the IIS logs
11-12-2019 08:36 AM
Actually you are right , i was not able to browse the URL in browser, not sure why it says Access forbidden although we have client certificates
11-12-2019 08:46 AM
On your web server, do you have the Client Certificate stored (with the private key) in the personal certificates store?
Example from my host:
Couple of other things to check:
Issuing CA is trusted by the IIS host and the full chain is trusted.
Intended purpose says Client Authentication.
11-12-2019 09:21 AM
Hello Yeah it is private key in IIS webstore, but the extended key usage is set for both 'Client & server Authentication' , and not just Client Authentication. Would that be a problem ? and yes CA is trusted
11-12-2019 09:21 AM
Actually no logs in CCP IIS in the event viewer and the code is 403.7
11-13-2019 02:32 AM
Why would the actual client certificate be on the web server? The client certificate & private key should be known *only* to the actual client app itself. The CCP IIS only needs to trust the CA that issued the client certs.
11-13-2019 07:37 AM
Correct I agree, that would be the problem. The Appln Private key should never leave the Application and ONLY the public key (x.509 cert) should be on CCP ISS. I will go ahead and do that, then test. Thanks
12-19-2019 12:08 AM
@Senthilkumar Kothandaraman
Were you able to get it working ?
12-19-2019 08:39 AM
Hello Yea, there were couple of issues.
1) ALways Import the private key in CurrentUser & LocalComputer Personal store.
2) DO the below
Run the below command in Powershell from the Application machine - from the link https://stackoverflow.com/questions/27232340/mutual-certificates-authentication-fails-with-error-403...
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Format-List * | Out-File "c:\computer_filtered.txt"If you see some List of Certificates in the output file above, perform the below registry modifications.
Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL Value name: ClientAuthTrustMode Value type: REG_DWORD Value data: 2
Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL Value name: SendTrustedIssuerList Value type: REG_DWORD Value data: 0 (False, or delete this key entirely3) In Addition to the Above make sure you enabled ClientCertAuthentication in IIS
12-19-2019 09:00 AM
You can Ignore point 3)
03-17-2020 05:00 PM
@Senthilkumar Kothandaraman
Thanks for the information.
I am trying to setup an application to use OS User + Cert Authn. will follow the steps described.
Q: In case of cert renewal or revocation, what would be the best approach to avoid service disruptions ?
TIA
03-17-2020 09:47 PM
You can add multiple cert serial numbers to an application authentication, and the app can then authenticate against CCP with either of them.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

