Question on configure windows authentication for CCP ?

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

Question on configure windows authentication for CCP ?

L4 Transporter

Trying to configure windows authentication for CCP to enable OS user authentication for applications ?

  1. Installed Windows Authentication in server role
  2. Enabled windows authentication in IIS under Site-AIMWebService-- V1.1--windows Authentication enanled
  3. Enabled Providers as Negotiate:Kerberos, NTLM and trying to save the configurations but following is the warning pop-up.

 

Please advise how to overcome ? and enable windows authentication working for applications Field_Content_versions_oct20__0682J0000063GQEQA2.png

6 REPLIES 6

L4 Transporter

@Anurag .​ You can keep in Negotiate & NTLM actually. This combination should cater to all the incoming request types

L4 Transporter

@Anand Negi​ i have added Negotiate & NTLM, but no luck

Field_Content_versions_oct20__0682J0000063HrQQAU.png

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

  <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

    <title>401 - Unauthorized: Access is denied due to invalid credentials.</title>

    <style type="text/css">

      <!--

body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}

fieldset{padding:0 15px 10px 15px;} 

h1{font-size:2.4em;margin:0;color:#FFF;}

h2{font-size:1.7em;margin:0;color:#CC0000;} 

h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} 

#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;

background-color:#555555;}

#content{margin:0 0 0 2%;position:relative;}

.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}

-->

 

    </style>

  </head>

  <body>

    <div id="header">

      <h1>Server Error</h1>

    </div>

    <div id="content">

      <div class="content-container">

        <fieldset>

          <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>

          <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>

        </fieldset>

      </div>

    </div>

  </body>

</html>

 

But if i enable Anonymous Authentication & Windows Authentication, i'm able to see the error code

{

  "ErrorCode": "APPAP306E",

  "ErrorMsg": "Authentication error for App ID [XXXXXX]. Reason: APPAP133E Failed to verify application authentication data: OSUser \" \" is unauthorized"

}

 

any thoughts for working OS user authentication for windows & UNIX

I'm making API request call from Postman & Chrome browser i don't see any luck expect Error code "APPAP306E"

 

L4 Transporter

Try enabling Basic auth as well. To tell you the truth even i'm struggling with the Unix environment but one thing that works from Unix is using curl with -negotiate-

L1 Bithead

I am having the similar issues, can you help with the curl query

 

curl -X GET "http://amowirpamccpd01.na.ds.monsanto.com:80/AIMWebService/api/Accounts?AppID=AIMWebService&Safe=Win_DS_Domain_INDX_ENG&Folder=root&Object=OperatingSystem-Mon_WinServiceAcct-NA2-na.ds.monsanto.com-NA1000SVC-EYSCAN"

 

It give me the below error

{"ErrorCode":"APPAP306E","ErrorMsg":"Authentication error for App ID [AIMWebService]. Reason: APPAP133E Failed to verify application authentication data: OSUser \" \" is unauthorized"}

 

Thanks

Senthil

L1 Bithead

I also have enabled the basic authentication in IIS but still receive the above error

 

@Senthil Arunagiri​ Here authentication error is for APPID(AIMWebService), can you check AIMWebService is add as application ID in pvwa.

also add OS User as IIS APPPOOL\DefaultAppPool and

Path as C:\inetpub\wwwroot\AIMWebService\bin\AIMWebService.dll

  • 1085 Views
  • 6 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!