Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

help with https on default website

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
Whizzwoz
Posts: 38
Joined: Sun 08 Oct 2017 9:30 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Lancing,West Sussex U.K.

help with https on default website

Post by Whizzwoz »

Hello I wonder if anyone can help me with the default website converting it to https://.
I got lets encrypt cert and installed it and everything works accept I cannot get Subject Alt Names to work.
My domain is:http://www.lancingweather.net and dericts to https://.
But cannot get http://lancingweather.net to redirect to https://
I have it running on a rpi3 with Apache. Domain with no ip.
Went to why no padlock to test them and for http://lancinweather.net it says I will have to setup a htaccess file? Is that right just need a little bit of help on this one!

Thanks for taking the time to read.
Cheers Warren.
Mapantz
Posts: 1775
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: help with https on default website

Post by Mapantz »

You can do it via cpanel. However, you can also manually add it to the .htaccess file yourself, as follows:

Code: Select all

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: help with https on default website

Post by beteljuice »

The rewrite rule is missing the s !!!!!
Image
......................Imagine, what you will KNOW tomorrow !
Whizzwoz
Posts: 38
Joined: Sun 08 Oct 2017 9:30 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Lancing,West Sussex U.K.

Re: help with https on default website

Post by Whizzwoz »

thanks for help guys I think I might get some webspace on ionos where my domains are and get a ca cert with them then I will have a proper cpanel etc.
Seems to be a lot of hard work on the rpi3 webserver will go back to windows pc again.
cheers Warren
Whizzwoz
Posts: 38
Joined: Sun 08 Oct 2017 9:30 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Lancing,West Sussex U.K.

Re: help with https on default website

Post by Whizzwoz »

hello guys yes got it working now on the rpi3 but have to disable TLSv1 according to why no padlock? testing site.
Any ideas?
Cheers for the help so far.
Thanks Warren.
Post Reply