News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF and SSL Certificate Not Working

Started by njtweb, May 23, 2018, 01:08:22 PM

Previous topic - Next topic

njtweb

I am on the phone with Godaddy tech support because my site says I have an insecure connection. And they've advised my SSL won't work because SMF has a www.redirect on my domain name by default.

I found this post but it appears to be for repairs or installs. https://www.simplemachines.org/community/index.php?topic=555034.0 I don't have a repair or install. I just want my site to be secured with my SSL. Currently my .htaccess has nothing in it.

I want to make sure I don't blow my site up with a screwed up .htaccess edit. Is this what I put into it to ensure my site is https by default now?

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


Thank you to all in advance.

vbgamer45

What's your site url?
Normally it can happen if you have some other asset that does not start with https://
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

http://www.youthhockeyinfo.com

Besides Optimus being installed I have done nothing to change anything except buy an SSL cert.

vbgamer45

Issues I see that are not https


<!-- Share This Topic Mod -->
<script type="text/javascript">!window.jQuery && document.write(unescape('%3Cscript src="http://code.jquery.com/jquery.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript" src="https://www.youthhockeyinfo.com/Themes/default/scripts/jquery.hoverIntent.minified.js"></script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f0f3b943805e0af"></script>




<br /><img src="http://www.youthhockeyinfo.com/Themes/default/images/Youth_Hockey_Info_LOGO_2.jpg" width="175" height="225"/></div>



And some topic links


And your css body tag inside of view-source:https://www.youthhockeyinfo.com/Themes/default/css/index.css?fin20
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Sorry, I don't know what that means. Go daddy said my SSL cert is applied to my domain correctly, it's active and is working. The problem is SMF not anything of Godaddy.

vbgamer45

Yes it is an SMF issue you have to make changes to your site due to mods installed and css file changes and then do the .htaccess to force SSL
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

I'm confused, why is SMF blocking my SSL cert? The share this mod was made by SUKI, she's not around anymore to ask. The image that you listed is an image I made in photoshop over the weekend. What am I supposed to do with what you posted, uninstall the mod and remove my image that I made? How is an image a security risk?

vbgamer45

It's not  blocking your SSL. The SSL still works. The browser is just saying you have elements on the page that are not securely loaded. You can either mod the update/fix But you still have to make the other changes in the other spots I mentioned.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Interesting, I wouldn't have any idea of how to fix what needs to be fixed. So basically this SSL cert I am paying for is completely useless to me.

vbgamer45

No, I could fix those issues for one time fee. Will take me about an half hour to an hour to fix those issues and implement the .htaccess file to force SSL
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Quote from: vbgamer45 on May 23, 2018, 01:52:34 PM
No, I could fix those issues for one time fee. Will take me about an half hour to an hour to fix those issues and implement the .htaccess file to force SSL

What happens if I add another image and SMF decides it's another security risk? Then I'm right back where I started from.

vbgamer45

As long as you put https:// in the link url you are fine.
SMF has a built image proxy to fix images in post just enable it under server settings.

But JavaScript/css files you will have to edit if they have http links
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Quote from: vbgamer45 on May 23, 2018, 01:58:11 PM
As long as you put https:// in the link url you are fine.
SMF has a built image proxy to fix images in post just enable it under server settings.

But JavaScript/css files you will have to edit if they have http links

OMG....

Enabling image proxy renders my index, various parts of the site, and just about all images inoperable.

vbgamer45

I think after the first page load it clears up.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Quote from: vbgamer45 on May 23, 2018, 02:10:54 PM
I think after the first page load it clears up.

Nope, just get page cannot be displayed on just about everything I click on to test. And those that do open, the images are all broken, including the default theme images.

vbgamer45

If you can't get to your site you can edit the Settings.php find and the image proxy line and set it to 0 instead of 1
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

njtweb

Quote from: vbgamer45 on May 23, 2018, 02:20:59 PM
If you can't get to your site you can edit the Settings.php find and the image proxy line and set it to 0 instead of 1

I can get there, its just that almost nothing loads when I click various links to pages. And those that do load, the images don't. Instead of loading I get page cannot be displayed in Chrome and the little spinning wheel thing on a white page in FF.

xcyoshi

Quote from: vbgamer45 on May 23, 2018, 02:20:59 PM
If you can't get to your site you can edit the Settings.php find and the image proxy line and set it to 0 instead of 1

Can you contact me, i am interested in your offer. I need assistance inputting my forum as SSL.

shawnb61

FWIW, this thread lists the steps to follow.  It is not specific to installs/upgrades (follow all instructions, skip steps that use the word "if" where the condition does not apply):
https://www.simplemachines.org/community/index.php?topic=555034.0
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Advertisement: