SSL Working??

Discussion in 'ASP.NET / ASP.NET Core' started by Takeshi Eto, May 9, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  2. No, the common name is simplywww.mydomain.com, should it have https:// on the beginning? I seem to recall when registering that characters such as '/' and ':' were not allowed to be submitted as part of the common name.
     
  3. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  4. I have recently set up an ASP.NET site with SQL database on the discountASP.net servers. I have successfully added an SSL addon, confirmed by email & in SSL manager in the control panel.

    But when i navigate to my site the yellow lock symbol confirming SSL connection is not appearing in the browser window. Does this mean that the SSL encryption is not working correctly? If not how do I set it up?

    The common name on the certificate and the website domain definately match.

    Thanks
     
  5. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    When you link to the part of your site that you want to secure, then you would use the absolute link.

    Eric
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  6. OK, i'll give that a try.


    Thanks for all your helpEric [​IMG]
     
  7. If you are using VB.net try to add this to your program also on the Page_Load. This will automatically replace your http: to https:


    If Not Request.IsSecureConnection Then


    Dim sURL As String


    sURL = Request.Url.ToString.Replace("http:", "https:")


    Response.Redirect(sURL)


    End If
     
  8. Genius!!!! Thanks /emoticons/smilewinkgrin.gif

    Was using C# so went with this:

     
  9.  
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page