Fresh install of 4.60, can't enable SSL in the admin panel

1 Jahr weitere
Fresh install of 4.60 under Ubuntu 22.04. SSL certs installed in nginx, website passess SSL checks.
The issue is that I can not enable SSL in the admin panel. The green "Enable SSL" button is there but when I click it the panel just reloads quickly and it still says "Enable SSL".

The siteloads fine  when accessed through https except for images, that are still referenced through http. Obviously this is not good as it raises a mixed content warning.

The "force SSL" and "UseHttpXForwardedProto" settings don't seem to exist in this version.
There is nothing about SSL in the General Settings -> Security tab.

Any ideas?
1 Jahr weitere
Hello! I've just started investigating. I'll let you know if find anything
1 Jahr weitere
We have changed this behavior since the 4.50 version. Now you need to enable the Use proxy servers setting on the App settings page. It should work fine.
1 Jahr weitere
alexey.a wrote:
We have changed this behavior since the 4.50 version. Now you need to enable the Use proxy servers setting on the App settings page. It should work fine.


I have exactly the same problem with 4.60. On an Ubuntu server. With 4.50 I had to change the site link to https://yoursite.com and then check enable SSL. After that, my site gives an err_redirect. To solve that I indeed changed in the app settings the "use proxy servers: true" setting. And the website was accessible again.

With 4.60 I still get an err_redirect because the enable SSL button does not work.

Is there another solution for this?
1 Jahr weitere
Is your Store URL set to https:// already? If yes, set it to http:// and save, then try the Enable SSL button again. If I recall correctly, that worked for me.
1 Jahr weitere
Please clarify "enable SSL button does not work".  Is the setting not persisting, or is it persisted and you are getting redirects?

P.S.  You can use SQL to set it.  Also, be sure to have a trailing "/"
update Store 
set SslEnabled = 1, Url = 'https://yoursite.com/'
where  Id = n


Also, be sure to restart the site after changes using SQL or the UI page.
1 Jahr weitere
"enable SSL button does not work" means exactly that - clicking the button causes the page to reload and SSL is still disabled. Enabling SSL through the database leads to infinite redirects issue.

Tried all the usual additions to appsettings.json ("ForwardedForHeaderName": "null", "UseProxy": true,    "UseHttpXForwardedProto": true) in all possible combinations - with no effect.

The funny thing is that the site seems to work fine through HTTPS as it's configured through nginx (despite SSL not being enabled in the shop admin panel), so the problem seems to be irrelevent.
1 Jahr weitere
RE: "clicking the button causes the page to reload and SSL is still disabled."
Try again.  Then go to System Log to see if any errors.

RE: "infinite redirects issue."
Try using an incognito (in-private) browser session.   Even still, you may to to do a 'hard refresh' and clear all your cookies.
5 Monate weitere
I still have this issue, anyone has any solution?