Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: SSL and using Forms Authentication


Message #1 by "Mark Gordon" <flashgordonmjg@h...> on Tue, 20 Aug 2002 23:18:45
My ISP installed my SSL certificate.  I change my web.config to the 
following:

<authentication mode="Forms">
 <forms name="GoldAnimalsAuth"   
loginUrl="https://www.mysite.com/secure/Login.aspx" protection="All" 
path="/">
 </forms>
</authentication>

...thinking that my form would be shown and the stream encrypted but 
instead I get a challenge box (windows username and password).  This even 
happens when I change the web.config to:

<authentication mode="Forms">
  <forms name="GoldAnimalsAuth" 
loginUrl="http://www.mysite.com/secure/Login.aspx" protection="All" 
path="/">
  </forms>
</authentication>

...even without the httpS and it still presents the challenge box.  It 
works if I use:

<authentication mode="Forms">
 <forms name="GoldAnimalsAuth" loginUrl="/secure/Login.aspx" 
protection="All" path="/">
  </forms>
</authentication>

What am I doing wrong?  I would guess that ASP.NET is using a different 
user?

Can anyone help me?

Thanks for your Time.

Mark



  Return to Index