https and wildcard domain name

Discussion in 'ASP.NET / ASP.NET Core' started by zaladane, Jan 29, 2009.

  1. Hello,
    I recently pruchased an ssl certificate for my website for security purposes, but i didn't get the wildcard certificate *.example.com
    The problem is that adding the certificate to my account forced me to have the wildcard add-on for my website. Now the problem i am having is
    http://example.com resolve to my domain but https://example.com gives a security exception both in IE and Firefox.

    Is there a solution for this that doesn't require me to buy a wildcard certificate (more expensive).
    I tried to redirect to the full domain name www.example.com but i am not sure i am doing it at the right place, because i still get the exception.
    Any help would be really appreciated.

    Thank you
    Seylom
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You lost me completely. Can you elaborate further?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Sure! thank you for your time.


    Basically if you purchase a basic ssl certificate for www.example.com, the https will only work for https://www.example.com, and not for https://example.comwhich means that if you try to access


    https://example.com, the browser will not display the page since the certificate is only valid for https://www.example.com


    a solution would be to purchase the wildcard ssl certificate therefore allowing the ssl for *.example.com but i find it too costly.


    i was wondering if it is possible to do a redirect from https://example.com to https://www.example.com and if so, where to do the redirect


    Thank you.
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    as a matter of fact, even wildcard will not work for you. Wildcard only with *.domain.com (and not domain.com).

    There's no redirect setting on the server that will archieve what you want to do. You'll have to do that programatically.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page