Serve SSL via HttpModule?

Discussion in 'ASP .Net' started by bradwiseathome@hotmail.com, Jun 21, 2006.

  1. Guest

    I have an IIS 6.0 web server that does not have an SSL certificate set
    up on the web site.

    Is it possible to enable SSL via my ASP.NET 2.0 web application only by
    inserting the SSL handshake, etc in an Http Module or anywhere else in
    the ASP.NET pipeline? For example, I could then offer different certs
    based on the Request uri, etc.

    Thaks.
     
    , Jun 21, 2006
    #1
    1. Advertisements

  2. no, you would need to write an iis filer in c/c++.

    not sure the point. SSL certificates are tied to the domain name, and iis
    already supports cerificates per domain.


    -- bruce (sqlwork.com)






    <> wrote in message
    news:...
    >I have an IIS 6.0 web server that does not have an SSL certificate set
    > up on the web site.
    >
    > Is it possible to enable SSL via my ASP.NET 2.0 web application only by
    > inserting the SSL handshake, etc in an Http Module or anywhere else in
    > the ASP.NET pipeline? For example, I could then offer different certs
    > based on the Request uri, etc.
    >
    > Thaks.
    >
     
    bruce barker \(sqlwork.com\), Jun 21, 2006
    #2
    1. Advertisements

  3. Guest

    The point is that the site is reachable as www.mysite.com and
    mysite.com and www2.mysite.com. If there is a server-installed cert for
    www.mysite.com, the user gets the confusing cert-prompt. If the cert
    handling was in .NET, then I could respond with the appropriate
    certificate based on the contents of the Request.




    bruce barker (sqlwork.com) wrote:
    > no, you would need to write an iis filer in c/c++.
    >
    > not sure the point. SSL certificates are tied to the domain name, and iis
    > already supports cerificates per domain.
    >
    >
    > -- bruce (sqlwork.com)
    >
    >
    >
    >
    >
    >
    > <> wrote in message
    > news:...
    > >I have an IIS 6.0 web server that does not have an SSL certificate set
    > > up on the web site.
    > >
    > > Is it possible to enable SSL via my ASP.NET 2.0 web application only by
    > > inserting the SSL handshake, etc in an Http Module or anywhere else in
    > > the ASP.NET pipeline? For example, I could then offer different certs
    > > based on the Request uri, etc.
    > >
    > > Thaks.
    > >
     
    , Jun 22, 2006
    #3
  4. pblse2 Guest

    wrote:
    > The point is that the site is reachable as www.mysite.com and
    > mysite.com and www2.mysite.com. If there is a server-installed cert for
    > www.mysite.com, the user gets the confusing cert-prompt. If the cert
    > handling was in .NET, then I could respond with the appropriate
    > certificate based on the contents of the Request.


    Then purchase a wildcard SSL certificate.

    PL.
     
    pblse2, Jun 22, 2006
    #4
  5. There is no way in doing this in ASP.NET 2.0 because as previously
    posted, the request once reach the IIS then only it will be handled
    against the SSL request then given to the ASP.NET handlers.

    So, there is no escape other than buying an SSL certificate
     
    Vadivel Kumar, Jun 24, 2006
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. 620
    Replies:
    2
    Views:
    1,272
    Murat Tunaboylu
    Jan 6, 2004
  2. CW
    Replies:
    2
    Views:
    755
  3. Sean Wolfe
    Replies:
    1
    Views:
    2,570
    Joerg Jooss
    Apr 28, 2005
  4. emukang
    Replies:
    0
    Views:
    3,298
    emukang
    Dec 20, 2005
  5. Matti Kiviharju

    Problem with SSL (Newbie with SSL)

    Matti Kiviharju, Jan 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    494
    Matti Kiviharju
    Jan 14, 2005
  6. Krzysztof Pa¼
    Replies:
    1
    Views:
    881
    Krzysztof Pa¼
    Sep 26, 2003
  7. helveticus
    Replies:
    2
    Views:
    1,606
    helveticus
    Sep 15, 2008
  8. helveticus
    Replies:
    0
    Views:
    398
    helveticus
    Sep 14, 2008
Loading...