Advertisement:

Author Topic: SMF and https  (Read 456 times)

Offline probeman

  • Semi-Newbie
  • *
  • Posts: 54
SMF and https
« on: June 03, 2018, 04:43:18 PM »
I noticed some time ago that Firefox warns us when I log in that our SMF forum is not using an https connection. 

I assume that I can upgrade our forum homepage to https by contacting our IP provider, but it there anything to be cautious about when converting our SMF page from http to https?

Are there instructions for doing so?

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 17,427
  • Gender: Male
  • CoreISP.net
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
    • CoreISP Corporation :: WebHosting, Dedicated Servers, and more!
Re: SMF and https
« Reply #1 on: June 03, 2018, 04:46:28 PM »
Starting from SMF 2.0.14, although 2.0.15 is to be recommended, SMF has full SSL support.
All you have to do is get a certificate for your website and install it on it (that's something to discuss with your host, yes); once that's done you just change all url's to https:// (repair_settings.php is probably quickest) and enable the new Image Proxy feature; et voila.
- CoreISP.net Corporation -
  WebHosting, Colocation, Domain Registration & Network Services
- DedicatedBox.us Servers -
  Low priced Servers in a high-quality Network, the place for all your (advanced) server needs.
  We specialize in hosting big boards. Contact us!

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,594
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: SMF and https
« Reply #2 on: June 03, 2018, 04:54:19 PM »
There is also a link around here somewhere to a really good topic on this. I can't find it at the moment but it helped me a lot.

* Bigguy searches all his pockets.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,737

Online GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,162
  • Gender: Male
    • Macedonian electronics forum
Re: SMF and https
« Reply #4 on: June 03, 2018, 04:59:56 PM »
Yep, that's the one ;).

Beat me to it :D.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,594
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: SMF and https
« Reply #5 on: June 03, 2018, 05:52:51 PM »
There ya go. ;)

Offline Red Squirrel

  • Semi-Newbie
  • *
  • Posts: 27
Re: SMF and https
« Reply #6 on: June 03, 2018, 06:29:56 PM »
Look into https://letsencrypt.org/ as it's free to get a cert.  I recently converted a lot of my sites to HTTPS including a SMF board, I did not have to make any special changes to the forum itself other than change the $boardurl variable in Settings.php so it goes to https.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 49,737
Re: SMF and https
« Reply #7 on: June 03, 2018, 06:33:25 PM »
Look into https://letsencrypt.org/ as it's free to get a cert.  I recently converted a lot of my sites to HTTPS including a SMF board, I did not have to make any special changes to the forum itself other than change the $boardurl variable in Settings.php so it goes to https.

then you did not completely change to using https, all your themes images etc may still not be using https URLs.

Offline probeman

  • Semi-Newbie
  • *
  • Posts: 54
Re: SMF and https
« Reply #8 on: June 03, 2018, 08:40:33 PM »
Thanks people, this is really helpful.

Online GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,162
  • Gender: Male
    • Macedonian electronics forum
Re: SMF and https
« Reply #9 on: June 06, 2018, 09:52:57 AM »
Did you manage to convert your site to https successfully?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."