CCP SSL Certificate Enforcement

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CCP SSL Certificate Enforcement

L5 Sessionator

We could use curl to retrieve the password using Client Certificate and ignoring SSL Certificate in Linux Boxes. Now, we are trying to enforce SSL Certificate requirement under AIM Webservice to retrieve the password in Linux boxes. So, to achieve SSL Enforcement, I was aware that I can just bind the certificate for 443 in Default website and that's done. However, reading the document, under "Configure SSL". At # 3.C. It mentions that "On the application machine, make sure that you have a corresponding server certificate. Store this certificate in the trusted certificates store."

 

 

I can understand that If I have Windows boxes then I can store same SSL in client boxes in Trusted Root Stores, BUT why we need to store SSL certificate in client boxes since this is SSL?

Secondly, If I need to store in linux boxes then where and what format it should be? I think just original format of .p12/.pfx/.cert file of SSL may not work.

 

Any guidance on this?

 

 

Central Credential Provider web service configuration | CyberArk Docs

10 REPLIES 10

L4 Transporter

On the CCP server(s) you also need to configure IIS (SSL Settings for the AIMWebService site) to Ignore, Accept, or Require client certificates. There is no need to have the Client Certificate itself on the CCP server, assuming it has the Root CA and any INT CAs that issued it. (as would be expected in most enterprises).

Hi @Todd Sherwin​  Client Certificate needs to be on CCP and client box. otherwise it won't/didn't work. mine had not that case as your explanation. I am just worried about SSL. Does SSL need to be in client box too? What to do if SSL needs to be in linux client box ? Any special steps needed to be taken care of?

 

L4 Transporter

The client cert needs to be installed on the calling host, and the thumbprint of the client cert needs to be in the API call to the CCP. Your client certs must have a different CA. This is a common misconception, but the client cert does not always need to be installed on the CCP. We do tons of CCP, all with client certs. Then obviously the S/N of the cert (not the thumbprint) added to the auth methods of the AAM appID.

Initially, I was also thinking same thing that client certificate needs to be just in client however it didn't work. Putting client cert in both CCP and client( linux) machine worked. I am very thankful to your comments. What about SSL cert then? Official documents mentions that SSL cert should be in CCP as well as in client box. It is quite not making sense to me. How had you worked on SSL cert for both windows and linux case using CCP?

L4 Transporter

We don't use Linux, but require SSL and client certs, and for a long time were also working under the assumption that the client cert needed to be installed on the CCP. Again this 100% is not the case. But only if your client cert is issued by a CA that your CCP already trusts (example: an internal CA).

L4 Transporter

$appID = "xxxxx"

$safe = "xxxxx"

$username = "xxxxx"

$reason = "xxxxx"

$thumbprint = "xxxxx"

$baseURL = "https://xxxxx.com"

 

# Retrieve client certificate from my local store

$Cert = Get-ChildItem Cert:\CurrentUser\My | Where-Object {$_.Thumbprint -like $thumbprint}

 

if (-not $Cert) {

  Write-Error "Certificate with thumbprint $thumbprint not found!"

  exit

}

 

$uri = "${baseURL}/AIMWebService/api/Accounts?AppID=${appID}&Safe=${safe}&UserName=${username}&Reason=${reason}"

 

$response = (Invoke-RestMethod -Uri $uri -Method Get -ContentType application/json -Certificate $Cert)

Okay You just installed client cert in client box and configured Serial number in PVWA? Thats all?

 

 

For SSL certificates, you just installed in CCP. Thats all right?

Yes I am aware about this script which is based on Certificate client authentication. Thanks for sharing

L4 Transporter

Hi @sanjay sah​ 

 

It seems that todd_sherwin provided an answer to your question. Could you kindly let us know if this solution helped?

If so, please mark the answer as 'Select as Best' to assist other community members.

 

Thank you, Liad

I was asking about SSL, I myself tested with Linux and Windows client boxes. So, conclusion is SSL just needs to be only in CCP server not in Client boxes where official document has misguided. Client Certificate should be both in Client box and CCP servers and It went well. I am fine now.

  • 584 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!