Okay folks, I filled out the form and it's included below. I'm self-hosting an Icecast server on a Raspberry Pi, and streaming to [stream.no-soap.net/stream](http://stream.no-soap.net/stream. It works fine on its own, but because it's not secure, it is mismatched with the secure webpage (no-soap.net) and therefore won't play.
My understanding is to fix this, I need an SSL certificate added to my Icecast server using Certbot and Let's Encrypt. I'm hitting the below error when I try to create a certificate to the webroot - I should point out that this error is new, originally it was saying there was not a valid A or AAAA reference to my domain. I'm assuming this is because I have DDNS set up through Namecheap?
Anyway, help! I'm very much a beginner at setting up and self-hosting servers, and the documentation with Icecast in particular is difficult, at best. Thanks in advance!
--
My domain is: stream.no-soap.net
I ran this command: sudo certbot certonly --webroot-path="/usr/share/icecast2/web" -d 'stream.no-soap.net'
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1: Nginx Web Server plugin (nginx)
2: Spin up a temporary webserver (standalone)
3: Place files in webroot directory (webroot)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Select the appropriate number [1-3] then [enter] (press 'c' to cancel): 3
Requesting a certificate for stream.no-soap.net
An unexpected error occurred:
AttributeError: can't set attribute
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version): icecast2
The operating system my web server runs on is (include version): Raspberry Pi OS
My hosting provider, if applicable, is: Namecheap
I can login to a root shell on my machine (yes or no, or I don't know): I think so! I'm accessing the Pi headlessly by ssh-ing into it
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): Certbot 2.1.0