ASP.NET application : DotNetOpenAuth create request to a HTTPS url

88 views
Skip to first unread message

Fabian Terf

unread,
Jun 16, 2014, 9:06:11 AM6/16/14
to dotnet...@googlegroups.com
Hello,

First sorry for my english ;-)

I have created an ASP.NET application wich use DotNetOpenAuth to authenticate the user by the identity card.

In debug mode no problem but in compiled mode IIS (6.5) doesn't accept to access to HTTPS request created by the DotNetOpenAuth library.

Here is the code i used to create the request :

OpenIdRelyingParty openid = new OpenIdRelyingParty();
IAuthenticationRequest request = openid.CreateRequest("https://www.e-contract.be/eid-idp/endpoints/openid/auth-ident");

// attribute query
FetchRequest fetchRequest = new FetchRequest();
fetchRequest
.Attributes.AddRequired("http://axschema.org/namePerson");
fetchRequest
.Attributes.AddRequired("http://axschema.org/eid/rrn");
request
.AddExtension(fetchRequest);
request
.AddExtension(new UIRequest());

request
.RedirectToProvider();

Is it necessary to enable SSL for the ASP.NET application in IIS ? Do you have the same problem ? Can you help me ?

Thanks in advance.

Fabian Terf.

Reply all
Reply to author
Forward
0 new messages