Unable to activate HTTPS on front end of website Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
ccollin
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Sep 29, 2011 11:54 am

Unable to activate HTTPS on front end of website

Post by ccollin » Wed Feb 13, 2019 9:38 am

Problem:

Unable to activate HTTPS on front end of website

Setup:

website: www.aldingawashpool.net
(Recently moved to new host: https not operational on previous host, but problem not addressed.)

Joomla 3.9.2. Extensions: Akeeba 6.33; eDocman 1.8.0; JCE editor 2.6.36; Template: Joomlage 0071-Simplex

Details of Problem:

Accessing backend (either: https://www.aldingawashpool.net/administrator/ or http://www.aldingawashpool.net/administrator ) is OK

Entering “https://www.aldingawashpool.net” in browser, reverts to http://www.aldingawashpool.net/

If “Force HTTPS” is activated (Administrator>System>Global Configuration>Server> Force HTTPS), Entering “https://www.aldingawashpool.net” leads to error messages:

In Firefox: “The page isn't redirecting properly. An error occurred during a connection to www.aldingawashpool.net. This problem can sometimes be caused by disabling or refusing to accept cookies.” (Allowing cookies made no difference)

In Chrome: “This page isn’t working www.aldingawashpool.net redirected you too many times.
Try clearing your cookies. ERR_TOO_MANY_REDIRECTS” (clearing cookies made no difference)

Internet Explorer: “This page can’t be displayed. •Make sure the web address https://www.aldingawashpool.net is correct. •Look for the page with your search engine. •Refresh the page in a few minutes.”


The problem does not seem to be with the certificate or server:

-A Joomla test website in a subdomain of aldingawashpool.net (test.aldingawashpool.net) works ok with https.

-Checking the certificate with https://decoder.link/sslchecker/ results in: “It's all good. We have not detected any issues.”

Attempts to resolve issue (having read online suggestions):

-Editing .htaccess:

adding to end of file:

# 10-02-2019 added to allow https on frontend
RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

-Editing configuration.php:

changing:

public $live_site = '';
to
public $live_site = 'https://www.aldingawashpool.net';

No effect either separately or together.

Assistance requested:

I am after suggestions as to what I should try next to be able to achieve “green padlock status”.

Many thanks in anticipation.

Chris

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Unable to activate HTTPS on front end of website

Post by Webdongle » Wed Feb 13, 2019 9:57 am

public $live_site = ''; is correct ... please revert your edit back to it.

Also please
viewtopic.php?f=806&t=969442

Do you have any redirects in the .htaccess (e.g. non www to www)
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

ccollin
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Sep 29, 2011 11:54 am

Re: Unable to activate HTTPS on front end of website

Post by ccollin » Wed Feb 13, 2019 10:56 am

Hi Webdongle,
Many thanks for your reply.
public $live_site = '' reverted
.htaccess is the standard Joomla version with addition at the end of:

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

# 10-02-2019 added to allow https on frontend
RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Regards
Chris

FPA Output:
Forum Post Assistant (v1.4.8 (koine)) : 13th February 2019 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.2-Stable (Amani) 15-January-2019
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.2: Yes | Database Supports J! 3.9.2: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.24.5.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 46.16 GiB |

PHP Configuration :: Version: 7.2.14 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: 05th February 2018 19:52:35. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 600 | Max. Execution Time: 600 | Memory Limit: 256M

Database Configuration :: Version: 5.7.25 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | Host: --protected-- (--protected--) | default Collation: utf8_general_ci (default Character Set: utf8) | Database Size: 9.09 MiB | #of Tables: 94
Detailed Environment :: wrote:PHP Extensions :: Core (7.2.14) | date (7.2.14) | libxml (7.2.14) | openssl (7.2.14) | pcre (7.2.14) | zlib (7.2.14) | filter (7.2.14) | hash (1.0) | pcntl (7.2.14) | readline (7.2.14) | Reflection (7.2.14) | SPL (7.2.14) | session (7.2.14) | standard (7.2.14) | cgi-fcgi () | bcmath (7.2.14) | bz2 (7.2.14) | calendar (7.2.14) | ctype (7.2.14) | curl (7.2.14) | dba (7.2.14) | dom (20031129) | enchant (7.2.14) | mbstring (7.2.14) | fileinfo (1.0.5) | ftp (7.2.14) | gd (7.2.14) | gettext (7.2.14) | gmp (7.2.14) | iconv (7.2.14) | imap (7.2.14) | intl (1.1.0) | json (1.6.0) | ldap (7.2.14) | exif (7.2.14) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $) | odbc (7.2.14) | PDO (7.2.14) | pgsql (7.2.14) | Phar (2.0.2) | posix (7.2.14) | pspell (7.2.14) | shmop (7.2.14) | SimpleXML (7.2.14) | snmp (0.1) | soap (7.2.14) | sockets (7.2.14) | sqlite3 (7.2.14) | sysvmsg (7.2.14) | sysvsem (7.2.14) | sysvshm (7.2.14) | tidy (7.2.14) | tokenizer (7.2.14) | xml (7.2.14) | xmlwriter (7.2.14) | xsl (7.2.14) | zip (1.15.4) | mysqli (7.2.14) | pdo_mysql (7.2.14) | PDO_ODBC (7.2.14) | pdo_pgsql (7.2.14) | pdo_sqlite (7.2.14) | wddx (7.2.14) | xmlreader (7.2.14) | xmlrpc (7.2.14) | ionCube Loader () | Zend OPcache (7.2.14) | Zend Engine (3.2.0) |
Potential Missing Extensions ::
Disabled Functions :: show_source | system | shell_exec | passthru | exec | popen | proc_open |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: No | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 1101410 | Threads: 5 | Questions: 74245045 | Slow queries: 0 | Opens: 4632002 | Flush tables: 1 | Open tables: 2000 | Queries per second avg: 67.409 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party:: WF_XHTMLXTRAS_TITLE (2.6.36) ? | WF_ANCHOR_TITLE (2.6.36) ? | WF_VISUALBLOCKS_TITLE (2.6.36) ? | WF_VISUALCHARS_TITLE (2.6.36) ? | WF_SPELLCHECKER_TITLE (2.6.36) ? | WF_CONTEXTMENU_TITLE (2.6.36) ? | WF_TABLE_TITLE (2.6.36) ? | WF_MEDIA_TITLE (2.6.36) ? | WF_STYLESELECT_TITLE (2.6.36) ? | WF_EMOTIONS_TITLE (2.6.36) ? | WF_FONTSELECT_TITLE (2.6.36) ? | WF_KITCHENSINK_TITLE (2.6.36) ? | WF_NONBREAKING_TITLE (2.6.36) ? | WF_FULLSCREEN_TITLE (2.6.36) ? | WF_AUTOSAVE_TITLE (2.6.36) ? | WF_DIRECTIONALITY_TITLE (2.6.36) ? | WF_FORMATSELECT_TITLE (2.6.36) ? | WF_FONTCOLOR_TITLE (2.6.36) ? | WF_HR_TITLE (2.6.36) ? | WF_PRINT_TITLE (2.6.36) ? | WF_FONTSIZESELECT_TITLE (2.6.36) ? | WF_TEXTCASE_TITLE (2.6.36) ? | WF_PREVIEW_TITLE (2.6.36) ? | WF_LISTS_TITLE (2.6.36) ? | WF_STYLE_TITLE (2.6.36) ? | WF_SOURCE_TITLE (2.6.36) ? | WF_LAYER_TITLE (2.6.36) ? | WF_SEARCHREPLACE_TITLE (2.6.36) ? | WF_ARTICLE_TITLE (2.6.36) ? | WF_IMGMANAGER_TITLE (2.6.36) ? | WF_CLEANUP_TITLE (2.6.36) ? | WF_INLINEPOPUPS_TITLE (2.6.36) ? | WF_CLIPBOARD_TITLE (2.6.36) ? | WF_CHARMAP_TITLE (2.6.36) ? | WF_LINK_TITLE (2.6.36) ? | WF_BROWSER_TITLE (2.6.36) ? | WF_LINK_SEARCH_TITLE (2.6.36) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.6.36) ? | WF_AGGREGATOR_[youtube]_TITLE (2.6.36) ? | WF_AGGREGATOR_VIMEO_TITLE (2.6.36) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.6.36) ? | WF_AGGREGATOR_VINE_TITLE (2.6.36) ? | WF_LINKS_JOOMLALINKS_TITLE (2.6.36) ? | WF_POPUPS_WINDOW_TITLE (2.6.36) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.6.36) ? |

Components :: ADMIN ::
Core :: com_newsfeeds (3.0.0) 1 | com_admin (3.0.0) 1 | com_checkin (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_templates (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_associations (3.7.0) 1 | com_users (3.0.0) 1 | com_menus (3.0.0) 1 | com_content (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_finder (3.0.0) 1 | com_banners (3.0.0) 1 | com_fields (3.7.0) 1 | com_languages (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_installer (3.0.0) 1 | com_plugins (3.0.0) 1 | com_redirect (3.0.0) 1 | com_ajax (3.2.0) 1 | com_login (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_search (3.0.0) 1 | com_messages (3.0.0) 1 | com_categories (3.0.0) 1 | com_modules (3.0.0) 1 | com_privacy (3.9.0) 1 | com_tags (3.1.0) 1 | com_cache (3.0.0) 1 | com_config (3.0.0) 1 | com_media (3.0.0) 1 |
3rd Party:: COM_JCE (2.6.36) 1 | edocman (1.8.1) 1 | Akeeba (6.3.3) 1 |

Modules :: SITE ::
Core :: mod_login (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_banners (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_latest (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_search (3.0.0) 1 |
3rd Party:: Art Sexy Lightbox Lite Edition (1.7.3) 1 | Edocman title slider (1) 1 | Edocman Categories (1.7.1) 0 | Edocman Documents (1.7.2) 1 | Rapid Contact (1.2) 1 | Custom CSS (1.8) 1 | ARI Image Slider (2.1.0) 1 | ARI Image Slider (2.2.5) 1 | EDocman search (1.7.5) 1 |

Modules :: ADMIN ::
Core :: mod_toolbar (3.0.0) 1 | mod_login (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_status (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_version (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_menu (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 |
3rd Party::

Libraries :: SITE ::
Core ::
3rd Party:: FOF30 (3.1.2) ? |

Plugins :: SITE ::
Core :: plg_privacy_user (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_system_log (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_logout (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_fields (3.7.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_remember (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_fields_media (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 0 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (1.1.1) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 |
3rd Party:: EDocman - Dropbox (1.0) 0 | Edocman - JComments (1.0) 0 | EDocman - Indexer plugin (1.0) 1 | EDocman Notification Plugin (1.7.5) 0 | Search - EDocman (1.7.2) 0 | PLG_SYSTEM_SSLREDIRECT (0.11.3) 1 | PLG_SYSTEM_AKEEBAACTIONLOG (1.0) 1 | PLG_SYSTEM_BACKUPONUPDATE (3.7) 1 | plg_system_jce (2.6.36) 1 | System - ARI Docs Viewer (2.1.1) 1 | Edocman - Import (1.6.8) 0 | PLG_SYSTEM_AKEEBAUPDATECHECK (1.1) 1 | EDocman Document Link (1.6.0) 0 | Button - ARI Docs Viewer (2.1.1) 1 | plg_fields_mediajce (2.6.36) 1 | plg_quickicon_jce (2.6.36) 1 | plg_quickicon_akeebabackup (1.0) 1 | plg_extension_jce (2.6.36) 1 | Content - Edocman link (1.7.1) 0 | PLG_CONTENT_ADMIRORCOLUMNIZER (3.5) 1 | plg_content_jce (2.6.36) 1 | EasyImageCaption (1.11) 1 | EDocman Category (1.5.5) 0 | Edocman Update Package (1.7.7) 1 | plg_installer_jce (2.6.36) 1 | plg_finder_edocman (1.7.2) 0 | plg_editors_codemirror (5.40.0) 1 | plg_editors_tinymce (4.5.9) 1 | plg_editors_jce (2.6.36) 1 |
Templates Discovered :: wrote:Templates :: SITE :: protostar (1.0) ? | beez3 (3.1.0) ? | Joomlage0071-simplex (1.2.1) 1 |
Templates :: ADMIN :: hathor (3.0.0) ? | isis (1.0) 1 |

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Unable to activate HTTPS on front end of website

Post by Webdongle » Wed Feb 13, 2019 12:13 pm

RewriteEngine On is already in the Joomla .htaccess ... no need to put it again

RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Should not be there.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

ccollin
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Sep 29, 2011 11:54 am

Re: Unable to activate HTTPS on front end of website

Post by ccollin » Thu Feb 14, 2019 5:30 am

OK, Thanks!
I have removed:

# 10-02-2019 added to allow https on frontend
RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

from .htaccess.

To clarify: No "redirects in the .htaccess (e.g. non www to www)" and reverted to public $live_site = '';

I am left with my original problem. Any other steps I can take?

Many thanks again for your assistance.

Chris

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Unable to activate HTTPS on front end of website

Post by sozzled » Thu Feb 14, 2019 5:59 am

The FPA report shows that SSL is disabled in the site's Global Configuration settings. This subject of this topic seems to be about being "unable to activate HTTPS" or a website. However, the first post seems to conflate another matter involving an error message (ERR_TOO_MANY_REDIRECTS).

I'm not saying that SSL is unrelated to this discussion; it's possible that SSL may be related to this discussion. If it were related to this discussion then it would be the first time that I've known SSL to be related to the error message. In order to address the substantive matter of ERR_TOO_MANY_REDIRECTS we need to look at a range of probable causes: http://google.com/search?q=Joomla+ERR_TOO_MANY_REDIRECTS

Whe one begins to look at the probable causes of ERR_TOO_MANY_REDIRECTS, SSL appears as a possible cause once. There are other more likely reasons for ERR_TOO_MANY_REDIRECTS. I don't know what is the actual cause in this case.

(Possibly unrelated: set Session Handler to PHP, run the Discover process)

ccollin
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Sep 29, 2011 11:54 am

Re: Unable to activate HTTPS on front end of website

Post by ccollin » Thu Feb 14, 2019 11:17 pm

Hi sozzled,

Many thanks for your thoughts.

Concerning your points:

"SSL is disabled in the site's Global Configuration settings." I presume that his reflects setting Force Https to None. This has been reset to allow visitors to access the site (in http).

I ran Discover and (re)installed previously deleted templates (Breez3, Protostar and Hathor) and FOF30 (Akkeba), then changed Session Handler to PHP and ran discover again and no components were listed.

"unable to activate HTTPS" and "ERR_TOO_MANY_REDIRECTS": My problem is that I (and website users) can't access the frontend with Https (entered into the browser it reverts to "Http") and if Force HTTPS is set to Entire Site, the front end doesn't open, with the error messages above depending on the browser.

From my reading it seems that the possible causes may be with the Server, certificate, .htaccess or configuration.php (or perhaps elsewhere in the site). The certificate and server seem ok as a test joomla website in a subdomain opens in https with Force Https set to Entire site, and testing with https://decoder.link/sslchecker/ is OK.
I presume that I am missing a setting somewhere.

Some further information:

Setting Force Https to Administrator only, (sometimes) produces the Joomla error of: "Warning
HTTPS has not been enabled as it is not available on this server. HTTPS connection test failed with the following error: Maximum (20) redirects followed". This seems at least partly wrong as the backend is currently open with https.

Testing with "www.whynopadlock.com" with Force Https as None (or Administrator only), results in all green ticks EXCEPT " Force HTTPS: Your webserver is not forcing the use of SSL. You may want to add a redirect to ensure a secure connection is used."
With Force Https set to Entire site results in all OK EXCEPT "Mixed Content - Errors: The Mixed content tests failed. Please be sure that you can connect to your site over SSL and try again. Error Returned: net::ERR_TOO_MANY_REDIRECTS at https://www.aldingawashpool.net".

So in summary: The problem is not an error message from the browser when trying to open the frontend with Https, it just doesn't open.

Thank you for reading this far!

Any suggestions as to where to try next are most welcome!

Regards

ccollin

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Unable to activate HTTPS on front end of website

Post by sozzled » Fri Feb 15, 2019 12:17 am

Depending on your proficiency with spoken English, we may be able to videoconference a solution. Please contact me (using one of the contact methods under my avatar in this post) and we'll see what we can do via Skype, hmm?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44088
Joined: Sat Apr 05, 2008 9:58 pm

Re: Unable to activate HTTPS on front end of website

Post by Webdongle » Fri Feb 15, 2019 1:10 am

ccollin wrote:
Thu Feb 14, 2019 11:17 pm
... My problem is that I (and website users) can't access the frontend with Https (entered into the browser it reverts to "Http") and if Force HTTPS is set to Entire Site, the front end doesn't open, with the error messages above depending on the browser....
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Is probably the cause of that


Have you removed that from the .htaccess yet ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Unable to activate HTTPS on front end of website

Post by sozzled » Fri Feb 15, 2019 1:13 am

@Webdongle:
ccollin wrote:
Thu Feb 14, 2019 5:30 am
I have removed:

# 10-02-2019 added to allow https on frontend
RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

from .htaccess.


@ccolin: I would still like to know your answer to my offer:
sozzled wrote:
Fri Feb 15, 2019 12:17 am
Depending on your proficiency with spoken English, we may be able to videoconference a solution. Please contact me (using one of the contact methods under my avatar in this post) and we'll see what we can do via Skype, hmm?

ccollin
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Sep 29, 2011 11:54 am

Re: Unable to activate HTTPS on front end of website

Post by ccollin » Fri Feb 15, 2019 5:00 am

Solved!

The problem was the Yireo plugin "PLG System -SSLRedirect" which had been installed previously and was preventing SSL use (as it was designed to do).
Uninstalling this resolved the problem.
Also uninstalled were a number of other unused extensions.

Enormous thanks to sozzled who walked me through the process of auditing the website with great calmness! Thankyou!

Also many thanks for input from Webdongle.

ccollin


Locked

Return to “Administration Joomla! 3.x”