[From nobody Wed Jun 7 09:45:35 2017 From: "Chauhan, Somya (ELS-CON)" <s.chauhan@elsevier.com> To: Shib Users <users@shibboleth.net> Subject: Unable to make Shib Attribute Query Thread-Topic: Unable to make Shib Attribute Query Thread-Index: AdLfdoI1u7bIELGqT++WLWcpDVd/yg== Date: Wed, 7 Jun 2017 10:12:41 +0000 Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_7879696867737273786868727965696674766773757769766778667_" MIME-Version: 1.0 --_000_7879696867737273786868727965696674766773757769766778667_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I have a query while making a shib attribute query request from SP I am pa= ssing the public key generated by us and shared with IdP and the signed cer= tificate provided by IdP. I am passing the following request: RequestURI: https://xxxxxx.net/idp/a.ssaml2 Request Body: <?xml version=3D"1.0" encoding=3D"UTF-8"?> <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope= /"> <soapenv:Header> </soapenv:Header> <soapenv:Body> <samlp:AttributeQuery ID=3D"MhSkwDw1t1VbsLbHwI08AQZ" Version=3D"2.0" IssueInstant=3D"2017-04-20T18:46:30Z" Destination=3D"https://xxxxx.net/idp/a.ssaml2" xmlns:saml=3D"urn:oasis:names:tc:SAML:2.0:assertion" xmlns:samlp=3D"urn:oas= is:names:tc:SAML:2.0:protocol" xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/"> <saml:Issuer>https://yyyyyyy.com/</saml:Issuer<https://yyyyyyy.com/%3c/sa= ml:Issuer>> <saml:Subject> <saml:NameID Format=3D"urn:oasis:names:tc:SAML:2.0:nameid-format:persis= tent">MhSkwDt1VwI08pdd3AQZ</saml:NameID> </saml:Subject> <saml:Attribute Name=3D"isValid" NameFormat=3D"urn:oasis:names:tc:SAML:2.= 0:attrname-format:uri"/> </samlp:AttributeQuery> </soapenv:Body> </soapenv:Envelope> The Issuer is SP Entity ID. I am getting the response as : 401 - "Cert auth credentials must be provided for (SP) ::: https://yyy= yyy.com/" Do I need to provide some credentials, if yes , then which credentials SP/I= DP? Or I am doing something wrong ? Or is there any configuration missing w= hich can cause such error. Thanks, Somya --_000_7879696867737273786868727965696674766773757769766778667_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Helvetica; panose-1:2 11 6 4 2 2 2 2 2 4;} @font-face {font-family:Helvetica; panose-1:2 11 6 4 2 2 2 2 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Plain Text Char"; margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.PlainTextChar {mso-style-name:"Plain Text Char"; mso-style-priority:99; mso-style-link:"Plain Text"; font-family:"Calibri","sans-serif";} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif";} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hi All,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">I have a query while making a shib  attribute q= uery request from SP I am passing the public key generated by us and shared= with IdP and the signed certificate provided by IdP.<o:p></o:p></p> <p class=3D"MsoNormal">I am passing the following request:<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">RequestURI:<o:p></o:p></p> <p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Hel= vetica","sans-serif";color:#505050;background:#FAFAFA">https= ://xxxxxx.net/idp/a.ssaml2</span><o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Request Body:<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoPlainText"><?xml version=3D"1.0" encoding=3D&qu= ot;UTF-8"?><o:p></o:p></p> <p class=3D"MsoPlainText"><soapenv:Envelope xmlns:soapenv=3D"<a hre= f=3D"http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/= soap/envelope/</a>"><o:p></o:p></p> <p class=3D"MsoPlainText"><soapenv:Header><o:p></o:p></p> <p class=3D"MsoPlainText"></soapenv:Header><o:p></o:p></p> <p class=3D"MsoPlainText"><soapenv:Body><o:p></o:p></p> <p class=3D"MsoPlainText"><samlp:AttributeQuery ID=3D"MhSkwDw1t1Vbs= LbHwI08AQZ" Version=3D"2.0" <o:p></o:p></p> <p class=3D"MsoPlainText">IssueInstant=3D"2017-04-20T18:46:30Z" <= o:p></o:p></p> <p class=3D"MsoPlainText">Destination=3D"<a href=3D"https://xxxxx.net/= idp/a.ssaml2">https://xxxxx.net/idp/a.ssaml2</a>" <o:p></o:p></p> <p class=3D"MsoPlainText">xmlns:saml=3D"urn:oasis:names:tc:SAML:2.0:as= sertion" xmlns:samlp=3D"urn:oasis:names:tc:SAML:2.0:protocol&quot= ; <o:p></o:p></p> <p class=3D"MsoPlainText">xmlns:SOAP-ENV=3D"<a href=3D"http://schemas.= xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</a>&q= uot;><o:p></o:p></p> <p class=3D"MsoPlainText">  <saml:Issuer><a href=3D"https://yyyy= yyy.com/%3c/saml:Issuer">https://yyyyyyy.com/</saml:Issuer</a>><o:p><= /o:p></p> <p class=3D"MsoPlainText">  <saml:Subject><o:p></o:p></p> <p class=3D"MsoPlainText">    <saml:NameID Format=3D&quot= ;urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">MhSkwDt1VwI0= 8pdd3AQZ</saml:NameID><o:p></o:p></p> <p class=3D"MsoPlainText">  </saml:Subject><o:p></o:p></p> <p class=3D"MsoPlainText">  <saml:Attribute Name=3D"isValid&qu= ot; NameFormat=3D"urn:oasis:names:tc:SAML:2.0:attrname-format:uri&quot= ;/><o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText"></samlp:AttributeQuery><o:p></o:p></p> <p class=3D"MsoPlainText"></soapenv:Body><o:p></o:p></p> <p class=3D"MsoPlainText"></soapenv:Envelope><o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">The Issuer is SP Entity ID. <o:p></o:p></p> <p class=3D"MsoNormal">I am getting the response as : <o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">401 - &quot;Cert auth credentials must be provid= ed for (SP) ::: <a href=3D"https://yyyyyy.com/&quot">https://yyyyyy.com/&quot</a>;<= o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Do I need to provide some credentials, if yes , then= which credentials SP/IDP? Or I am doing something wrong ? Or is there any = configuration missing which can cause such error.<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks,<o:p></o:p></p> <p class=3D"MsoNormal">Somya<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"> <o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> </body> </html> --_000_7879696867737273786868727965696674766773757769766778667_-- ]