<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CMS with SSL check complain site is insecure when it isn&#x27;t]]></title><description><![CDATA[<p dir="auto">Some CMS come with an internal SSL check.<br />
They give me problems with my HaProxy config, complaining the site wasn't secure.</p>
<p dir="auto">To a visitor, my sites' URLs are http<strong>s</strong> alright.<br />
The webservers with the CMS on the backend machines, however, actually use http on port 80.</p>
<p dir="auto">That's for instance why Moodle CMS constantly throws messages about how the site is insecure when it actually isn't.</p>
<p dir="auto">I'm trying to find a practicable way of solving this via pfsense HaProxy settings, since tinkering with each CMS's config is tiresome.</p>
<p dir="auto">Any suggestions welcome.</p>
<p dir="auto"><em>What I've tried so far:</em><br />
I've adapted the CMS config as follows, but to no avail.</p>
<ul>
<li>$CFG-&gt;sslproxy = true;<br />
--&gt; "Coding error detected, it must be fixed by a programmer: Must use https address in wwwroot when ssl proxy enabled!"<br />
AND/OR</li>
<li>$CFG-&gt;reverseproxy = true;<br />
--&gt; "Reverse proxy enabled, server can not be accessed directly, sorry. Please contact server administrator."</li>
</ul>
<p dir="auto"><em>My HaProxy settings in a nutshell:</em></p>
<ul>
<li>HaProxy, Acme cert</li>
<li>Shared frontend, forwardfor option.</li>
<li>Backends use 'Forward to' with Class-C IP + 443.</li>
</ul>
]]></description><link>https://forum.netgate.com/topic/151440/cms-with-ssl-check-complain-site-is-insecure-when-it-isn-t</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 07:03:21 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/151440.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Mar 2020 14:31:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CMS with SSL check complain site is insecure when it isn&#x27;t on Wed, 25 Mar 2020 14:15:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a> Yeah, never mind. I'm taking it up with one of the CMS developers.</p>
<p dir="auto">Actually, I've used the CMS in question for almost a decade now.<br />
The problems began when I first used it behind HaProxy after they implemented the SSL-check..</p>
<p dir="auto">Anyway, thanx for your input.</p>
]]></description><link>https://forum.netgate.com/post/899141</link><guid isPermaLink="true">https://forum.netgate.com/post/899141</guid><dc:creator><![CDATA[tn1rpi3]]></dc:creator><pubDate>Wed, 25 Mar 2020 14:15:33 GMT</pubDate></item><item><title><![CDATA[Reply to CMS with SSL check complain site is insecure when it isn&#x27;t on Wed, 25 Mar 2020 14:09:00 GMT]]></title><description><![CDATA[<p dir="auto">Never used HAProxy, neither the CMS that you didn't mention, so ... what to say ?</p>
<p dir="auto">This is what I would do :<br />
Install a known working CMS. Like Wordpress (takes 5 minutes ?!).<br />
That is, never used Wordpress behind a proxy ... don't even know if it would work behind a proxy.</p>
<p dir="auto">If it works : it's your CMS.<br />
If it doesn't : at least you know it's probably HAProxy.</p>
<p dir="auto">edit : Google tries to tell me it works : https://wordpress.org/support/topic/access-wp-admin-page-behind-haproxy/ (many references).<br />
So, test with WP and you'll see.</p>
<p dir="auto">It's a 'settings' question - if supported.</p>
]]></description><link>https://forum.netgate.com/post/899137</link><guid isPermaLink="true">https://forum.netgate.com/post/899137</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Wed, 25 Mar 2020 14:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to CMS with SSL check complain site is insecure when it isn&#x27;t on Wed, 25 Mar 2020 13:50:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a></p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gertjan">@<bdi>Gertjan</bdi></a> said in <a href="/post/898637">CMS with SSL check complain site is insecure when it isn't</a>:</p>
<blockquote>
<p dir="auto">Something in your CMS isn't setting the correct URL's</p>
</blockquote>
<p dir="auto">The CMS's config.php allows for setting wwwroot-&gt; http<strong>s</strong>://... after install.<br />
But when I do, the result is a redirect loop and the site turns inaccessible..<br />
No matter how I look at it, I cannot think of a way to solve this via HaProxy.</p>
]]></description><link>https://forum.netgate.com/post/899133</link><guid isPermaLink="true">https://forum.netgate.com/post/899133</guid><dc:creator><![CDATA[tn1rpi3]]></dc:creator><pubDate>Wed, 25 Mar 2020 13:50:30 GMT</pubDate></item><item><title><![CDATA[Reply to CMS with SSL check complain site is insecure when it isn&#x27;t on Mon, 23 Mar 2020 09:58:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tn1rpi3">@<bdi>tn1rpi3</bdi></a> said in <a href="/post/898626">CMS with SSL check complain site is insecure when it isn't</a>:</p>
<blockquote>
<p dir="auto">Any ideas, please?</p>
</blockquote>
<p dir="auto">I guess, yes.</p>
<p dir="auto">My browser (Firefox) complains that "some elements on your login page are not using https".</p>
<p dir="auto">A page inspection shows many src="http://moodle.12bfree.com/.... URL used by java scripts ..... that not good at all.<br />
Something in your CMS isn't setting the correct URL's, it default to http:// or the site is accessed by https://</p>
]]></description><link>https://forum.netgate.com/post/898637</link><guid isPermaLink="true">https://forum.netgate.com/post/898637</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Mon, 23 Mar 2020 09:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to CMS with SSL check complain site is insecure when it isn&#x27;t on Mon, 23 Mar 2020 09:18:58 GMT]]></title><description><![CDATA[<p dir="auto">I wonder who can wrap their head around this.. -<br />
Please check out this site to see what I mean<br />
<em>(and click into the password field at login)</em><br />
https://moodle.12bfree.com</p>
<p dir="auto">The backend vm meanwhile has Apache2 listening on port 443.<br />
No change in behaviour.<br />
--&gt; The password field still proclaims: "This connection is not secure"</p>
<p dir="auto">Any ideas, please?</p>
]]></description><link>https://forum.netgate.com/post/898626</link><guid isPermaLink="true">https://forum.netgate.com/post/898626</guid><dc:creator><![CDATA[tn1rpi3]]></dc:creator><pubDate>Mon, 23 Mar 2020 09:18:58 GMT</pubDate></item></channel></rss>