Re: SSL on ASP.NET
From: Steve Turley (sturley@online.microsoft.com)
Date: 09/16/02
- Next message: Steve Turley: "Re: Passport authentication"
- Previous message: Kim Bach Petersen: "Re: Custom login/Security"
- In reply to: Madison: "SSL on ASP.NET"
- Next in thread: Richard Cole: "Re: SSL on ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Steve Turley" <sturley@online.microsoft.com> Date: Mon, 16 Sep 2002 10:35:30 -0700
You do not set SSL with the <authentication mode=""/> tag. Leave it set to
Windows.
SSL is enabled in IIS and is independent of ASP.NET. You must first obtain
and install a server certificate (from VeriSign, Thawte, or any other
certificate authority that you trust.) Then use the MMC snapin for IIS to
enable SSL on your application's virtual directory:
Start>Run, type "inetmgr", click OK.
Navigate to your application, right-click and select Properties.
On the Directory Security tab you should see the Secure Communications area
active if you have installed the server certificate properly. Click Edit..
and then check the "Require secure channel (SSL)" checkbox.
Now users will have to use https:// to access the application.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Please do not reply directly to this email address; it is intended for newsgroup purposes only. "Madison" <gaysorn.kijjabhorn@psc.state.wi.us> wrote in message news:117d701c25a81$43419e10$3bef2ecf@TKMSFTNGXA10... > Hi; > When I try to create ASP.NET application with SSL, I got > the following message: > > Server Error in '/' Application. > --------------------------------------------------------- > > Configuration Error > Description: An error occurred during the processing of a > configuration file required to service this request. > Please review the specific error details below and modify > your configuration file appropriately. > > Parser Error Message: It is an error to use a section > registered as allowDefinition='MachineToApplication' > beyond application level. This error can be caused by a > virtual directory not being configured as an application > in IIS. > > Source Error: > > > Line 28: "Forms", "Passport" and "None" > Line 29: --> > Line 30: <authentication mode="Windows" /> > Line 31: > Line 32: > > > Source File: d:\inetpub\a_test\web.config Line: 30 > > --------------------------------------------------------- > Version Information: Microsoft .NET Framework > Version:1.0.3705.0; ASP.NET Version:1.0.3705.0 > > I could create ASP application with SSL without any > problems. Do ASP.NET application can run with SSL? If > yes, what is the process to set this application? > Thanks.
- Next message: Steve Turley: "Re: Passport authentication"
- Previous message: Kim Bach Petersen: "Re: Custom login/Security"
- In reply to: Madison: "SSL on ASP.NET"
- Next in thread: Richard Cole: "Re: SSL on ASP.NET"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|