Topic on Project:Support desk

Jump to navigation Jump to search

Remove "Use secure connection"

Summary by AKlapper (WMF)

Reported as phab:T225728

LewisMCYoutube (talkcontribs)


I have a self-hosted wiki on the root of a subdomain. My website uses HTTPS entirely (using a Let's Encrypt certificate, its https-only function, and HSTS) and my wiki's LocalSettings.php reflect as such (wgServer specifies HTTPS). However, the "Use secure connection" link sill appears when attempting to log in (clicking it only appends "&error=" to the URL). Changing $wgSecureLogin has not fixed this, and I'm not sure how to proceed.



Ciencia Al Poder (talkcontribs)

This happens when the wiki (PHP) doesn't "see" the connection being served as HTTPS. This can happen if HTTPS is terminated on a proxy before reaching PHP or similar.

I've hidden that icon with CSS. That's probably worth a bugreport