petitssuisses / piwigo-ForceHTTPS

Piwigo Force HTTPS is a security plugin for Piwigo. It allows Piwigo administrators to force usage of SSL transport layer when browsing Piwigo.
4 stars 3 forks source link

Not detecting HTTPS on my HTTPS enabled server #15

Open Djelle opened 5 years ago

Djelle commented 5 years ago

Plugin is reporting: "HTTPS unavailable. Your hosting server does not support HTTPS, a SSL certificate is required. Plugin activation is disabled." Even though I have HTTPS on my domain.

I am already running Piwigo on HTTPS now. But I want to force users to HTTPS using your plugin.

I do not know much about HTTPS. I saw somewhere else, someone had to copy the SSL certificate to a different directory. So I wonder if it could be because your plugin can't locate my certificate. I sadly don't know what files to look for and where to copy them, if that is the case.

I found this info on my host's support pages: SSL is by default enabled for all domains hosted with One.com. Once your domain is using our nameservers, an SSL certificate will be issued and activated for your domain. This means you can always securely access your site over HTTPS. You get a free Wildcard SSL certificate from Let's encrypt.

I am sorry for the inconvenience, but I want to use your plugin ;)

/Djelle

petitssuisses commented 5 years ago

Hi, could you share your https address so that I could check ?

Djelle commented 5 years ago

Sorry. I forgot the info.

https://photoalbum2.djelle.dk/ •Piwigo 2.10.0 •PHP: 7.2.23 •MySQL: 5.5.5-10.3.17-MariaDB-1:10.3.17

Djelle commented 4 years ago

I think this is a fruitless issue. I have tried to make a .htaccess file myself. Which does work. But throws errors about non-valid certificate. So my host must have made their own system to make it easier for customers. But which prevent your plugin from working.

No big deal. I will add some HTML code instead, that force the page to load in HTTPS.