Re: sslstream and certificates

From: Jakob Nielsen (a_at_b.c)
Date: 05/27/05


Date: Fri, 27 May 2005 20:03:18 +0200


>I guess I'm just not sure of what exactly it is you are doing. If your
>goal is to have a WinForms app communicate with a web server
>programmatically, .NET includes a System.Net.HttpWebRequest class that you
>can use for doing programmatic HTTP protocol stuff, including SSL.

> If your goal is to implement a custom HTTP Server, then it seems like it
> would be easiest to using the built in model in ASP.NET and use its
> extensibility mechanisms to implement your own HTTP handlers.
>
> However, if you really want raw stream based data that is SSL encrypted,
> then SslStream is probably the way to go. It really depends on the
> problem you are trying to solve and the level of abstraction you want.

I have an application which is a normal winforms app. It acts as a
backupserver and for that I want it to communitate with clients (that I also
create) in a secure way. Ssl seems fine. I also want that server app to
service users through a browser interface, so they can perform simple
maintanence and status checks from anywhere without the actual backup
client.
That is also comunication which should be conficential, so https seems lige
a good choice.

Currently i have a tcplistener accepting connections on port 80, parsing
http requests and sending back html formatede text and graphics. I do the
http and html myself.

Are you saying that I can grab a few classes from asp.net and use them here
without needing some webserver to run it all? I guess that makes sence. The
classes in asp.net which can read a http header and generate one, should
work no matter where you run them.

> Glad you are making progress anyway.

Thanks. *singing* We all get byyyyy with a little help from our groups :-)



Relevant Pages

  • Re: ISA 2004 Server Errors
    ... Tunneling SSL Through a WWW Proxy ... CONNECT is really a lower-level function than the rest of the HTTP methods, ... Through ISA Server ...
    (microsoft.public.isa)
  • Re: RWW with no https
    ... What you cannot normally do is configure an HTTP SSL listeners to redirect traffic based on HTTP headers. ... Or dump Kerio Mail Server since you have the same capabilities in Exchange;-) ... > port but going to port 8080. ...
    (microsoft.public.windows.server.sbs)
  • Re: SSL cert in ISA 2006
    ... protocol (HTTP, SMRP, POP3, IMAP, etc.) to provide session-level encryption. ... What is the purpose of SSL used in ISA for? ...
    (microsoft.public.isa.configuration)
  • Re: Redirect https to http Exchange 2007
    ... I took off require SSL on the /OWA dir and i can get to ... it by http and https, but the redirect to https isnt working if i force ssl ... /OWA vdir but the redirect to SSL isnt working, ...
    (microsoft.public.exchange.admin)
  • Re: ADFS, ISA and SSL offloading
    ... Assuming it is a very short, secure segment between your LB and web server, the risk of running that segment unencrypted is likely be very low but still deserving of caution. ... The other aspect of this is that SSL is not likely to be that big of a deal in terms of absolute performance here, so I'm not sure if you gain much by doing this. ... leave all HTTP on 80 and all SSL on 443. ... ISA is going ...
    (microsoft.public.windows.server.active_directory)