Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 14 of 14

Thread: redirecting question after installing ssl

  1. #1
    bullman is offline Junior Member
    Join Date
    Apr 2005
    Posts
    5

    Default redirecting question after installing ssl

    I have problem with redirecting to shoppingcart.aspx after my ssl installed.

    If you click the shoppingcart link or go check out. It won't redirect to https://www.mydomain.com/shoppingcart.aspx. However, it goes to http://www.mydomain.com/shoppingcart.aspx

    And internet brower cannot display the http://www.mydomain.com/shoppingcart.aspx

    I have tested https://www.mydomain.com and it is works fine.

    Any suggestions?

    Thanks a lot

  2. #2
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    Is AppConfig:LiveServer=yourdomain.com?

    Is AppConfig:RedirectLiveToWWW=true?

  3. #3
    bullman is offline Junior Member
    Join Date
    Apr 2005
    Posts
    5

    Default

    Yes, the AppConfig:LiveServer=mydomain.com ---no "www"before the domain

    And AppConfig:RedirectLiveToWWW=true

  4. #4
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    and you have AppConfig:UseSSL=true?

  5. #5
    bullman is offline Junior Member
    Join Date
    Apr 2005
    Posts
    5

    Default

    Yes, I did have set the AppConfig:UseSSL=true

  6. #6
    bullman is offline Junior Member
    Join Date
    Apr 2005
    Posts
    5

    Default

    I am still in the trouble of SSL redirecting.

    The website works fine if I starts with https://www.mydomain.com
    and easily go to shoppingcart

    However, If I start from http://www.mydomain.com, it cannot display page if you click the shoppingcart link or try to add a product into shoppingcart.

    When I click shipingcart link from http://www.mydomain.com. I just found the url in opera browser is: https://www.mydomain.com/shoppingcar.../aOf49OA556Q=? Which should be https://www.mydomain.com/shoppingcart.aspx?

    I am using ML 6.0,
    I am wondering if there a bug in RequireSecurePage() of skinbase.cs ?

    Thank you for any suggestions

  7. #7
    locklind is offline Junior Member
    Join Date
    Dec 2005
    Location
    Texas
    Posts
    15

    Default

    We had a similiar problem. We made SSL a requirement when we installed our certificate for the website. Our solution in IIS, we set the website to not require SSL and let ADNSF control the SSL for us. Our problem went away. Hope this helps.

  8. #8
    ohmydude_ML is offline Member
    Join Date
    Feb 2007
    Posts
    75

    Default

    may be redundant, in the default admin page, on the left side, make sure the "SSL ON - TURN SSL OFF" says "on" and not "off" this toggles other settings, and we turned in on in SSL differnetly so it took some toggling to get it all synched.

    also, make sure your SSL is set to the default domain base level (i.e. www.yoursite.com and yoursite.com) so it handles the full site. if you're using a shared SSL (which you shouldn't if your a legit biz), this may complicate things.

  9. #9
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    RE: "However, If I start from http://www.mydomain.com, it cannot display page if you click the shoppingcart link or try to add a product into shoppingcart."

    The only possible causes are:

    a) AppConfig:LiveServer not set to yourdomain.com
    b) AppConfig:RedirectLiveToWWW=false, and your SSL is on www.
    c) Your SSL cert is not on www.yourdomain.com (that is not supported easily)

  10. #10
    Gaines2010 is offline Junior Member
    Join Date
    Jan 2008
    Posts
    1

    Default RequireSecurePage()

    I am having the same problems posted on this thread. My site currently redirect to HTTPS. However when I compile and redeploy it does not. However, I can manually change the URL to HTTPS and then it works. All ADMIN settings are setup accordingly.

    Any advise anyone?

    Thanks in advance,

  11. #11
    Alkaline is offline Senior Member
    Join Date
    May 2006
    Posts
    459

    Default

    when you purcahsed your SSL,

    did you buy www.yourdomain.com or yourdomain.com ?

  12. #12
    Alkaline is offline Senior Member
    Join Date
    May 2006
    Posts
    459

    Default

    The only way to make both www.yourdomain.com and domain.com work together is via a wild card SSL.

  13. #13
    grayland is offline Junior Member
    Join Date
    Jul 2005
    Posts
    27

    Default

    Hi I am having the same issue. Did anyone find a solution?

  14. #14
    djr123456 is offline Junior Member
    Join Date
    Apr 2007
    Posts
    14

    Default Make sure to change the IP in IIS and other steps

    If you plan to change the IP address . Make sure to turn off SSL in store under App Congif before the change.

    Then fix IIS with the correct IP addresses, then turn SSL back on under App Config.

    1 - Changing IP in IIS. Go into the website properties
    Select Website tab, then under IP select "Advanced" tab.
    Change IP address in the bottom box to the new IP address.
    This will fix the SSL problem and be able to log in again.


    Things that may help if you forget any of the steps:
    1- ability to reset SSL from Database directly
    Make a backup of the database, and then run the following query:
    Code:
    UPDATE AppConfig SET ConfigValue = 'false' WHERE Name = 'UseSSL'Once that is done you will need to reset the site by either running an IIS Reset or touching the web.config file.

    2- password doesn't work can't get in to the store and need to reset.
    *- Connect to your database using SQL Server Management Studio, Enterprise Manager, or your web-based query tool.
    ** - In a new query window, issue the follow SQL statement:
    UPDATE [Customer]
    SET [Password] = 'your new password here',
    [SaltKey] = -1,
    [LockedUntil] = DateAdd(mi, -1, GetDate()),
    [BadLoginCount] = 0,
    [PwdChangeRequired] = 0,
    [PwdChanged] = GetDate()
    WHERE [Email] = 'your admin email address here'
    *** - Execute the query. It should return "(1 row(s) affected)
    ****- In order for the password to be usable, it must be re-encrypted. Do this by forcing the site to restart, either through IIS or by "touching" the web.config file.