Switch from http to https with ossn

Adrian Räuchle Posted in Technical Support 7 years ago

hey guys.
i wanted to switch my ossn from HTTP to HTTPS

so on my ubuntu server i installed lets encrypt and enabled ssl certificate.
This works. when a user access HTTP he is now redirected to HTTPS

But i am getting an error that i have too many redirects on the page and i dont get what i am missing.

I went to /var/www/html/ossn/configurations/ossn.config.site.php and changed from http to https but that doesnt helped either.
any suggestions what i can do now to fix it?

Using ossn 4.4 premium

Replies
us Dan Kaufman Replied 7 years ago

I was hitting this same problem. Updating the config file at [siteurl]/configurations/ossn.config.site.php did the trick (make sure to update your data directory as well).
I also found a line in [siteurl]/libraries/ossn.lib.route.php around line 90 for function current_url();
The first line of this sets the $protocol var to 'http'. Update that to 'https' just to be sure.
Thanks for the tip on the config file!

Catalan James MacKay Replied 7 years ago

Adrian,

I have same issue, would like to update to https. But I am running a windows machine and wamp for a server. Do you have any suggestions?

James

German Adrian Räuchle Replied 7 years ago

okay it is solved by myself. The problem was that my IDE didnt updated the remote file so it was out of date ^^