• Resolved bad_sector

    (@bad_sector)


    Hi there.

    I’ve applied a Let’s Encrypt SSL cert to my site through my web host’s admin panel (Dreamhost), but I’m having problem fully enabling the Really Simple SSL plugin functionality.

    I’ve installed and activated the plugin but it tells me:

    No SSL was detected. If you do have an ssl certificate, try to reload this page over https by clicking this link: reload over https. You can check your certificate on Qualys SSL Labs

    The Qualys report came back with an A rating, indicating that it can detect the certificate, but when I try and following the suggestion of reloading the page over https, I hit the ‘page not found’ error. I get that on any backend pages I try to navigate to such that I can’t return to the plugin setup page in order to continue.

    Please may I have some advice? I’m considering modifying the WordPress and Site address URLs in General settings, but nervous about doing so.

    Many thanks in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Some things you can do to check:

    Does this also happen if you just change the address in the browser address bar to https, then hit enter?

    Does your front-end site load over https when you request https://domain.com ?
    And if you go to https://www.domain.com/wp-content/plugins/really-simple-ssl/ssl-test-page.php, what do you see?

    Thread Starter bad_sector

    (@bad_sector)

    Thanks for the swift reply Rogier.

    If I manually specify https in the browser address bar the front-end loads fine and my browser recognises the presence of the cert. Subsequent attempts to navigate to the dashboard still take me to https://domain.com/not_found

    The test page returns:

    SSL test page

    This page is used purely to test for ssl availability.

    #SERVER-HTTPS-ON# (on)
    #SERVERPORT443#

    #SUCCESFULLY DETECTED SSL#

    HTTP_HOST: domain.com
    REQUEST_URI: /wp-content/plugins/really-simple-ssl/ssl-test-page.php

    • This reply was modified 8 years, 2 months ago by bad_sector.
    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I think something’s wrong with the server config. It sounds a bit like this issue here:
    https://wordpress.stackexchange.com/questions/145119/enabling-ssl-on-wordpress-results-in-404

    Thread Starter bad_sector

    (@bad_sector)

    I’ve just modified the WordPress and Site address URLs in General settings to include https, and it seems to have done the trick.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Great it’s fixed…But it’s strange though. The plugin will change the site URLs automatically when WordPress loads over https. I can’t think of a reason why WP would not be able to load over https, but works when the site URLs are changed.

    I haven’t seen this behaviour before either. That’s why it’s set up this way: just reload over https, and the plugin can do the configuring.

    Thread Starter bad_sector

    (@bad_sector)

    It’s certainly successfully redirecting any attempt to view a page over http to https.

    I’ll be slowly rolling this out to a handful of sites, some on different web hosts, so I’ll see if the behaviour differs at all.

    Thanks for your feedback.

    Thread Starter bad_sector

    (@bad_sector)

    Strangely I do get this message on the plugin detected setup details:

    The mixed content is activated, but the frontpage could not be loaded for verification. The following error was returned: CURLE_FAILED_INIT

    Another of my sites was free of the previously mentioned issue, but now browsers don’t seem to report that the connection is encrypted unless I navigate to a page other than the homepage.

    Thread Starter bad_sector

    (@bad_sector)

    Debug log states:

    ** Really Simple SSL debug mode **
    ** Detecting configuration **
    plugin version: 2.4.3
    Already on SSL, start detecting configuration
    ssl type: SERVER-HTTPS-ON
    ** Configuring SSL **
    testing htaccess rules…
    htaccess rules tested successfully.
    checking if .htaccess can or should be edited…
    .htaccess contains redirect
    settings page, per site activation or hsts option change, updating htaccess…
    retrieving redirect rules
    single site or networkwide activation
    converting siteurl and homeurl to https
    .htaccess contains redirect

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    This message only means the plugin’s attempt to retrieve the homepage was blocked (could be security) so the plugin can’t check if the mixed content fixer is active. If you don’t have any mixed content, you should be ok.

    As for the homepage not being SSL: is the .htaccess redirect in place? If this debug log is from that site, the .htaccess seems to be inserted, and should redirect all incoming requests to https.

    Thread Starter bad_sector

    (@bad_sector)

    Yep. The debug log confirms the htaccess redirect, and manual testing confirms that redirections are indeed taking place.

    I’ve found that browsers don’t seem to report the cert validation in the address bar (on the homepage) while the Autoptimize plugin is activated.

    I think I might have to look into the Autoptimize config now.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Maybe the autooptimizer plugin blocks the mixed content fixer from working. If you do not have “data-rsssl” in your websource, the mixed content fixer is not active.

    Thread Starter bad_sector

    (@bad_sector)

    data-rsssl doesn’t appear in my web source, but what I’ve just done is check the image URLs specified throughout the page and manually modified them from http to https and that appears to have done the trick.

    It seems to be what someone else tried under the following topic:
    https://www.ads-software.com/support/topic/mixed-content-filter-not-working-with-autoptimize-plugin/

    Rogier, thank you so much for your time today, your support and patience has been second-to-none.

    Hello, same problem here, on Dreamhost also, and same solution, I added https n the SETTINGS pages and it did the trick, but not instantly, I first had to stress being locked outside my website and then miracle, I was able to access it !

    In case someone needs it I was able to change the SITE URL and WORDPRESS URL manually after checking this, but I finally didn’t need it:
    https://codex.www.ads-software.com/Changing_The_Site_URL

    Thank you.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    After changing the siteurl, you get always logged out because the cookies are not valid for the domain anymore. That’s nothing to worry about.

    Did you try change the siteaddress to https in the browser address bar, then hitting enter? That should fix it in most cases. As soon as the plugin detects that WordPress is on https, it will start configuring the site.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘SSL cert not detected, and can’t browse dashboard over https URLs’ is closed to new replies.