View Complete Post
i am using self created certs for client authentication. for one of the cert it works fine but ith another cert it does work. i get an error, can't rer connect to server.
is there any way/tool to troubleshoot cert issue?
We have a WCF service hosted in IIS 7 which currently uses windows
authentication. However, as we on-board new customers which don’t have domain
account we want to use certificate authentication for our new customers without
affecting existing users.
I know we can handle this issue using different endpoints since WCF
allow to set binding and authentication for each endpoint. However, this
approach seems to have a problem on our current users since it requires to
generate a new proxy, which they don’t want it, due to the change in the
configuration of the service to accommodate this change.
So I am wondering if there is any better way which doesn’t require our
existing clients to generate a new proxy and at the same time which can allow
us to use certificate and windows based authentication.
Is there any way we can handle this by just configurin
How can i know at client side that my request to wcf service(with certificate authentication over nettcp) has failed because of authentication or authorization.
i think authentication can fail if the certificate is not a valid certificate(ie date has expired). For authorization i have implemented ServcieAuthorizationmanger and returning true/false. how wcf will transfer this to authrization error.
we have upgraded our WSS 3.2 installation to Sharepoint Foundation 2010 and have trouble with authentication over client certificates (works perfect with WSS 3.2).
You can reproduce this with a fresh install of SharePoint Foundation 2010 on Windows Server 2008 R2. Create an application and set in IIS authentication to Client Certificates. Then create a site with one document library and upload at least two documents.
Message: Object expected
I found following HTTP 500 error in IIS-Log:
2010-05-21 13:20:01 192.168.1.86 POST /_vti_bin/client.svc/ProcessQuery - 443 XXXX\XXX 192.168.XXX.XXX Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+InfoPath.2;+.NET4.0C;+.NET4.0E)
500 0 0 188
If i switch authentication in IIS to Windows Authentication i get no error (HTTP Status Code = 200).
Is there a way so that service will log an event if any request fail due to certificate authentication failure?
I can write my custom x509auntheticator for this, where I can check for authentication and then log it. In this case is there a way from my custom x509authenticator to call the default certificate check implementation of WCF. I don't want to write code to
valdiate certificate(like expiry, authority etc). I want something like base.Validate, which will do acutal cert validation and only if it fails i will write code to log event.
I'm curious if its possible to get windows auth working with asp.net webpages/webmatrix.
I've got it published to IIS with windows auth turned on and anonymous/forms/basic turned off.
I'm guessing the WebSecurity Helper probably won't work here but can you access User.Identity.Name etc?
Sorry for the newbie questions, I've only just started working with asp.net ^^,
Hello, I am seeing a strange problem with Forms Authentication in my DD site. A user logs into and can view/edit/delete data all day, but when they execute a Custom Filter against data (for example , a control DynamicData/Filters/CustomerLastNameSearch.ascx ) then the site auth fails, and redirects to the log in screen.
in web.config I have
<authentication mode="Forms"> <forms name=".Star" loginUrl="~/Login.aspx" protection="All" defaultUrl="~/Default.aspx" path="/" timeout="43200" cookieless="UseCookies" /> </authentication>
Offhand, I am thinking two things : that DynamicData/Filters path requires some special handling for some reason, or the control extension ascx is causing auth to get confused. Has anyone else experienced this or have any suggestions? Thanks!
I have two web applications:
1. http://www.mysite.com - primary app running at the root of the web server
2. http://www.mysite.com/second_app - running in a virtual directory
At user authentication, I'm using FormsAuthenticationTicket to set up authentication cookies. Is it possible to share the same cookie for both the apps?
Any help would be much appreciated.
How to create a virtual directory and get benefit of the IIS. Is there a workaround to accomplish this without the Windows Authentication for Windows 7 Home Premium Edition?
Thanks in advance,