I understand if I cant get any assistance on this subject, as it is not about certbot directly, however it has to do with my SSL certificate somewhat, and my failed attempts at fixing this have resulted in being unable to connect to any of my sites.
Recently I discovered this self-hosted live streaming platform called Owncast. Their project is on github here: Owncast on Github
I have a Linode running Debian 10 with 3 virtual hosts, all with the same IP, and they all have SSL certificates installed with certbot. I installed Owncast software on the server from their latest release, and all went well. I then setup a subdomain using an A Record (not sure if that's correct way). I can access the live stream GUI by typing in the following: http://live.pastlife.works:8080
My issue is that I want to make that a secure page and be able to embed the stream into my sites. I want users to be able to access my livestream by going to https://live.pastlife.works (SSL and without typing in port number)
According to the documentation at Owncast, the service cannot be embedded into a webpage that is using SSL, unless the Owncast server software is secured with SSL itself (and their only way of doing this is through reverse proxy)
The documentation on it can be found here:
I have tried to get some help from the github but so far no one has responded with anything useful. You can view that here:
I am not sure how to go about this. I dont know what .conf files to edit to do this. I have 6 .conf files in /etc/apache2/sites-enabled
because there is one for http version and one that letsencrypt made, for each virtual host.
Can anyone help me accomplish this task?
My sites .conf file look like this:
http.conf
<VirtualHost *:80>
ServerAdmin email
ServerName pastlife.works
ServerAlias www.pastlife.works
DocumentRoot /var/www/pastlife.works
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =pastlife.works [OR]
RewriteCond %{SERVER_NAME} =www.pastlife.works
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
https.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin email
ServerName pastlife.works
ServerAlias www.pastlife.works
DocumentRoot /var/www/pastlife.works
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLCertificateFile /etc/letsencrypt/live/pastlife.works/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/pastlife.works/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
domain is: pastlife.works
web server is: Apache 2.4.53-1~deb11u1: amd64
The operating system:
Debian 10 stable - kernel 4.19.0-20-amd64
hosting provider: Linode.com
I can login to a root shell
Not using a control panel
The version of my client: certbot 0.31.0
Thank you for reading all of this