Authentication with client certificate Sample (wodWebServer / wodWebServer.NET)
Where could I find a sample for authentication with client certificate?
by Jeremy, (4064 days ago)
Where could I find a sample for authentication with client certificate?
by Jasmine, (4064 days ago) @ Jeremy
Jeremy,
hi. You can check out our online samples here:
http://www.weonlydo.com/code.asp?prod=wodWebServer
First one is about authentication with the server.
Kind regards,
Kreso
by Jeremy, (4063 days ago) @ Jasmine
Thanks for your prompt reply.
The sample's AuthenticationType is "Basic".
But I need a sample that is "AuthentionType = AuthCertificate"
by Jasmine, (4063 days ago) @ Jeremy
Jeremy,
oh, I see. I can write a sample for you. Are you using ActiveX or NET version of wodWebServer?
Kreso
by Jeremy, (4063 days ago) @ Jasmine
WebServer.Net
Thanks.
by Jasmine, (4063 days ago) @ Jeremy
Hi.
I had to fix wodWebServer.NET for this to work - thanks for spotting this. Anyway, please download wodWebServer.NET again and install it (version 1.3.7) . Once installed you can do this:
[code]
web1.AuthenticateEvent += new WeOnlyDo.Server.WebServer.AuthenticateDelegate(web1_AuthenticateEvent);
web1.Secure = true;
web1.Authentication = WeOnlyDo.Server.WebAuthentications.Required;
web1.AuthenticationType = WeOnlyDo.Server.WebAuthenticationTypes.Certificate;
web1.Start();
[/code]
and in authenticate event do with the certificate whatever you wish:
[code]
void web1_AuthenticateEvent(object Sender, WeOnlyDo.Server.WebAuthenticateArgs Args)
{
if (Args.Certificate != null)
Console.WriteLine(Args.Certificate.GetIssuerName());
Args.Action = WeOnlyDo.Server.WebActions.Allow;
}
[/code]
Let me know how it goes!
Kreso
by Jeremy, (4062 days ago) @ Jasmine
Thanks.
It works.
...with a minimum of effort as the DLL interface was written with such simplicity...
...wodFtpDlx was exactly what I needed, it worked, and it was priced right...
I've heard that you are amazing with your replies coming back so quickly - and now I've seen the speed in which you reply first hand.
The people at WeOnlyDo are amazing! ... I always get a super fast response from customer service, and the products are great too. Thanks WeOnlyDo
We have recently completed a large 1200+ location project where reliable Telnet and SSH connectivity was required. wodSSH worked flawlessly and allowed our staff to complete our project ontime and within budget.
I would highly recommend this to anyone who needs a good quality SFTP solution.
Your component works really great. With minor effort I have been able to convert my delphi application...
Just thought you'd like to know that my gateway app with your SMTP Server component held the line against a DDOS attack today...
You have been great as far as offering support is concerned and has been extremely responsive to both support requests and suggestions for product enhancements.
This has been, by far, the best experience I have ever had dealing with a support entity in my long career in the technical arena