How do I secure my Meteotemplate site? (https)
- WessexWeather
- Forecaster
- Posts: 127
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
How do I secure my Meteotemplate site? (https)
Hi all,
I tried this a year or so ago and gave up after experiencing some errors within the template.
Has anyone managed to secure their site, with everything working properly, and if so can someone talk me through how do do it successfully?
I tried this a year or so ago and gave up after experiencing some errors within the template.
Has anyone managed to secure their site, with everything working properly, and if so can someone talk me through how do do it successfully?
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
- EveshamWeather
- Observer
- Posts: 20
- Joined: Sat Sep 02, 2017 11:11 am
- Location: Evesham, UK
- Station model: Davis Vantage Vue
- Software: Weewx
- Contact:
Re: How do I secure my Meteotemplate site? (https)
Hi,
I am not seeing any load problems with my site (https://eveshamweather.co.uk). I just use the LetsEncrypt option my host (Krystal) provides for free certificates. The only thing I did was to get the certificate issued with wildcards enabled in the cpanel options.
I am not seeing any load problems with my site (https://eveshamweather.co.uk). I just use the LetsEncrypt option my host (Krystal) provides for free certificates. The only thing I did was to get the certificate issued with wildcards enabled in the cpanel options.
Vince
- WessexWeather
- Forecaster
- Posts: 127
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
Hi Vince,
Many thanks for the reply. I don’t believe my host (Jolt) issues LetsEncrypt certificates as a package, but wish it did. I tried setting up a LetsEncrypt certificate manually, which I couldn’t get to work properly, and Cloudflare which was even worse. I’ll try and contact my host and see if they can help.
Many thanks for the reply. I don’t believe my host (Jolt) issues LetsEncrypt certificates as a package, but wish it did. I tried setting up a LetsEncrypt certificate manually, which I couldn’t get to work properly, and Cloudflare which was even worse. I’ll try and contact my host and see if they can help.
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
- EveshamWeather
- Observer
- Posts: 20
- Joined: Sat Sep 02, 2017 11:11 am
- Location: Evesham, UK
- Station model: Davis Vantage Vue
- Software: Weewx
- Contact:
Re: How do I secure my Meteotemplate site? (https)
There are quite a few hosts that are trying to maintain their certificate sales by not allowing LetsEncrypt. Unfortunately, since the certificate needs to be installed on the server, if they don't provide an interface to do this, then I don't believe you can install it yourself. I have been lucky as Krystal do offer it, in fact it is one of their selling points.
I also found Cloudflare was unusable as the data changes regularly and the free Cloudflare package cached data for too long - at least that was my experience a couple of years ago when I last tried it.
I also found Cloudflare was unusable as the data changes regularly and the free Cloudflare package cached data for too long - at least that was my experience a couple of years ago when I last tried it.
Vince
-
- Newbie
- Posts: 7
- Joined: Mon May 21, 2018 10:01 pm
- Station model: Davis Vantage Pro2
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
I've been having the same problem. I can only use the flexible option with Cloudflare as that is what my host's free plan allows. Unfortunately, that messed up all the css and other necessary files. I tried turning development mode on, and changing the setup.php path from http to https with no success.
EDIT: My website actually loads fine on Chrome with the flexible option, but not on Safari. First image is Safari, second is Chrome.
EDIT: My website actually loads fine on Chrome with the flexible option, but not on Safari. First image is Safari, second is Chrome.
-
- Newbie
- Posts: 7
- Joined: Mon May 21, 2018 10:01 pm
- Station model: Davis Vantage Pro2
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
I got Cloudflare working properly now. I had the path set incorrectly on the setup.php page. It had the "https://", but I needed to remove "www." in order to get the website to display correctly and get rid of the Error 404 messages.
- WessexWeather
- Forecaster
- Posts: 127
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
Are you sure it’s working flawlessly? I thought Cloudflare’s slow caching caused problems with live sites like ours?
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
-
- Advisor
- Posts: 60
- Joined: Sun Dec 24, 2017 2:22 pm
- Station model: AW WS-2000ish
- Software: Meteobridge/OIP/GW-1000
- Contact:
Re: How do I secure my Meteotemplate site? (https)
I can't really help with the https part, but thought I'd say hi from a fellow NJ Meteotemplate user.
http://weather.westfamilynj.net/meteo
Mike
http://weather.westfamilynj.net/meteo
Mike
-
- Newbie
- Posts: 7
- Joined: Mon May 21, 2018 10:01 pm
- Station model: Davis Vantage Pro2
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
Sorry for such a late response, but it seems to be working great with my site so far. The current conditions block updates without needing to be refreshed. I have my Meteobridge send updates every minute, so I don't know what it does in shorter intervals than that. The database is operating correctly and the website gets the data and displays the data just fine.WessexWeather wrote: ↑Thu May 28, 2020 10:59 amAre you sure it’s working flawlessly? I thought Cloudflare’s slow caching caused problems with live sites like ours?
The only problem I am noticing is the fact that some blocks and plugins have urls written using http instead of https. The lock in the url bar does not display on a few pages because of the http urls. I actually updated a few of the blocks to https with websites that are capable and the lock appeared for a couple pages that previously did not. A few websites still don't support https, so I do have a page or two that is still not completely secure.
- WessexWeather
- Forecaster
- Posts: 127
- Joined: Mon Aug 21, 2017 6:26 pm
- Location: Wimborne, East Dorset, UK
- Station model: Davis Vantage Vue
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
I have also given Cloudflare another try, and like you it seems to be working perfectly.
I’ve ensured any insecure blocks are hidden in Menu Blocks so that when the page first displays it is secure. It’s only when you open those blocks that the padlock disappears.
How did you manage to secure the insecure blocks? I only have three I believe.
The other thing I had to do was to exclude my webcam image from caching on Cloudflare as it wasn’t being updated every 5 minutes as it should, but my data automatically refreshes every 10 seconds as it should.
Finally my email didn’t work in Cloudflare, which is common, and I had to change some DNS settings to get it working. There’s lots in Google about this.
I’ve ensured any insecure blocks are hidden in Menu Blocks so that when the page first displays it is secure. It’s only when you open those blocks that the padlock disappears.
How did you manage to secure the insecure blocks? I only have three I believe.
The other thing I had to do was to exclude my webcam image from caching on Cloudflare as it wasn’t being updated every 5 minutes as it should, but my data automatically refreshes every 10 seconds as it should.
Finally my email didn’t work in Cloudflare, which is common, and I had to change some DNS settings to get it working. There’s lots in Google about this.
Regards,
Simon (WessexWeather)
Simon (WessexWeather)
-
- Newbie
- Posts: 7
- Joined: Mon May 21, 2018 10:01 pm
- Station model: Davis Vantage Pro2
- Software: Meteobridge
- Contact:
Re: How do I secure my Meteotemplate site? (https)
I went into the Blocks folder and the Plugins folder and found the blocks and plugins that were insecure. I changed the urls found in the script from http to https through my file manager. I checked to make sure that those websites supported https first before updating the blocks/plugins. I know the lightning block from Blitzortung.org is http only as well as the snowUSStations Plugin. Those two are the only ones I can't update.
I updated the following blocks successfully:
I updated the following blocks successfully:
- radarUS
- usExtremeProbability
- hurricaneRSS
- usRadar
- globalModel