CCP Authentication Configuration

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

CCP Authentication Configuration

L5 Sessionator

I am novice to CCP and we have an application where the password should be retrieved using CCP.

I have done the following steps which are mentioned below:

1) Onboarded the account proper account for the application or the OS machine where application exist.

2) Integrated Application ID and CCP ID/username to the safe where account is stored.

 

Now, I want to configure OS user authentication method and I read document:

Application authentication methods | CyberArk Docs

Authentication method configurations on the Central Credential Provider | CyberArk Docs

 

 

 

 

I understood reading the document that I need to add os user as domain\username in authentication section in PVWA and I need to provide command to fetch password using powershell:

$AppID = “App_MyApp”

$object = “Object-Name”

$CCPAddress = “CyberArkCCP/WindowsAuthentication/api/Accounts?AppID=$AppID&Object=$object”

$restresponse = invoke-restmethod -uri $CCPAddress -method GET -UseDefaultCredentials

 

 

Will above steps would suffice to configure OS user authentication method or should I need to do something further? Also, did i understand correctly?

 

5 REPLIES 5

L6 Presenter

Hi- @sanjay sah​,

 

the call to get the secret is always a GET REST API but the composition of the string depends on the product used.

 

For testing you can use a browser, Postman cURL, etc. Then, obviously, you will have to make the appropriate changes based on the language used (PowerShell, VisualBasic, .NET, Java, etc.)

 

I'll give you a practical example:

 

Application: MyAppID

Safe: MySafeID

Name: MyNameID

Username: not relevant

Address: not relevant

 

CCP: URL_CCP (for example https://myccp.it)

 

- Test call to verify the ccp service

https://myccp.it/AIMWebservice/v1.1/AIM.asmx

 

- Get Secret from browser

https://myccp.it/AIMWebService/api/Accounts?AppID=MyAppID&SAFE=MySafeID&OBJECT=MyNameID

 

- Get Secret from cURL

curl -s -X GET "https://myccp.it/AIMWebService/api/Accounts?AppID=MyAppIDt&SAFE=MySafeID&OBJECT=MyNameID" -H "Content-Type:application/json"

 

Nino

Thank You Nino. It is really helpful. In this Authentication method configurations on the Central Credential Provider | CyberArk Docs article, I see "Configure Windows Domain Authentication" section mentioning many steps to be done. Should I have to do so or that's something else?

Hi @sanjay sah​ ,

 

I understand what you are referring to.

 

To be able to use the CCP service, for security, it is necessary to authorize the caller. Authorization is applied from the PVWA > Application interface.

 

Four authentication methods can be used for CCP. The simplest method to authorize a call is "Allowed Machines" as it is sufficient to indicate the IP/Hostname/FQDN of the caller (usually the application server). At an initial stage I advise you to use this method.

 

Field_Content_versions_oct20__068Ht00000SAhP2IAL.pngJoe Garcia has published some videos on the subject, I'll leave you the links

 

 

Nino

Thank You Nino. I watched his all videos and I didn't want to go with Certificates. I am focusing on OS user because some of the machines are ephemeral and I thought OS user would be the best idea to choose if IPs are changing time to time and there won't be any issue.

I tried doing OS user authentication but getting this below error:

 

Invoke-WebRequest: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

 

Since, I am not sure that there should be something done with certificate since we are trying to implement OS user authentication.

  • 858 Views
  • 5 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!