Help! SSL Cert and Login

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hi all,

I just turned on SSL by changing the web.config as well as enabling SSL on the stores configuration and once that happened, I keep losing log in state.

As in if i log into the browser will show https://www.foscamwa.com.au/login but once I log in, it reverts to http://www.foscamwa.com.au/ ...

This is fine if not for that fact that my login is not registered and the website loses the authentication state.

Can anyone advise me on how to properly configure this?


Website is www.foscamwa.com.au.. still pretty brand new default nopcommerce as im still going through configuring it.

Hosting is ARIVXE...

Thanks
9 years ago
Hello,

I think you're running into problems because you changed the SSL attribute in the web.config. I can't remember, but I think doing that turns off cookies.

There are 2 places in nopC to enable SSL. The first is in the store settings. This enables basic SSL on pages that post information. There is another settings in advanced settings securitysettings.forcesslforallpages. If you set that to true than all pages will be SSL.

Hope that helps.

Kevin
9 years ago
You just installed ssl certificate on server.
And then enable ssl for your store. Put secure store url like https://www.yourstore.com/ ( admin -> configuration -> stores )

If you want to enable ssl for all pages , check 'Force SSL for all site pages' ( admin -configuration- > settings -> General And Miscellaneous Settings -> security)

After all you restart application.

I think you do not need to change anything in web.config
9 years ago
It seems to be working now after reverting the RequireSSL="true" to false in the webconfig file!

Thanks!

Jonathan
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.