Hi All, Can we use OS user Authentication for AIM's CCP solution, if application is fetching the password from unix machine via AIMWebService API call and it is also running under windows domain account ? please suggest.. Thanks

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Hi All, Can we use OS user Authentication for AIM's CCP solution, if application is fetching the password from unix machine via AIMWebService API call and it is also running under windows domain account ? please suggest.. Thanks

L4 Transporter
14 REPLIES 14

L4 Transporter

Yes you can, in fact OS User, Client Certificates and IP/Machine restriction can be used with CCP. Make sure basic/windows auth are enabled on your CCP server

L4 Transporter

@Anand Negi​  Appreciate for the response. do we need to pass the credentials of the OS user every time when script rans ?

L4 Transporter

Since the applicationID will be restricted with an OS User, the script will need to be run by that very OS user else you will receive the authentication failures. I would advice to use Client certificates though (with serial number restriction).

L4 Transporter

@Anand Negi​ we have SSL cert on CCP server, where can i obtain client certificate serial number ? on app servers ?

L4 Transporter

@Anand Negi​ we enabled windows Authentication in web server roles on CCP server, and also enabled Windows Authentication enabled under IIS>AIMWebService>V1.1>Windows Authentication>enabled> then select providers under enabled for NTML as provider. do we need to choose NTML or kerberos ? Can you help ?

when i tried with above configuration i'm unable to authenticate and error was OSUser is unauthorized.

 

Thank in advance.

L1 Bithead

Another option for OS User authentication, from a Unix machine calling CCP, is to use a keytab file for Kerberos authentication. I have to agree with @Anand Negi​ that certificates are a preferred option.

@Anurag .​ I'm facing the issue currently. I keep getting 401.2 error with OS Restriction (or without it even). The only way it seems to work is if I enable anonymous authentication (which is obviously not recommended). I'm I missing something basic for the Unix setup ? The same thing works for Windows Env

L1 Bithead

What if the application is hosted on AS400 and AS400 is making aim web service call.I would like to restrict that OS user. I tested it by adding the actual (username) to authentication tab and the fetch is not working. I removed all of them fetch is working. Like we add domain\username for windows domain OS user, have anyone come across what would be right parameter that needed to be added to authentication tab for AS400.

FYI! OS user authentication is not supported for CCP.

The implementation guide for CCP lists Windows domain OS user and Client Certs as available options. They also list Allowed Machines as a type but I don't consider an allowed list as authentication. @Anurag .​ Where do you see OS user is not supported for CCP?

May be I’m wrong. But I gave multiple testing from Linux servers and enabled OS user authentication but it failed . And cyberark support mentioned we need pass OS user credentials to retrieve the password via REST Call. For this reason we can’t use for scripting if OS user is enabled. Will see if any different answers from community.

Sounds good and it was a pain to setup. Also, support told us we could not use OS user with Linux but the documents said we could. Everything is very case sensitive as AD and Kerberos handle case sensitivity a bit different. If you can find a Kerberos expert they should be able to get your configuration working.

L4 Transporter

Interesting thread. I enabled certificate based authentication and it works as expected. There are challenges with IP / OS user and specially when the servers are behind load balancer. The document says use ARR as an option for IP but it also mentions that ARR does not work with certificate based authentication enabled.

 

Has anyone been able to use a combination of certificate and OS user/IP for CCP. Calling application could be Windows/Linux.

 

Thanks in advance.

L2 Linker

Hi,

Haven't tried certificate-based authentication, but OS authentication worked for me by doing the following:

  1. Enable Basic Authentication for the AIMWebService site in INETMGR.
  2. Make sure the authenticated user has the "Access this computer from the network" permission (in secpol.msc).
  • If the authenticated user is not a windows domain/local account (Linux etc), create a local account with the same name and password as the authenticated user and make sure the user has the above permission.

 

 

  • 1116 Views
  • 14 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!