Page 1 of 1

Native secure access with snapd

Posted: Tuesday 20 September 2022 12:49
by hjzwiers
My installation runs on a Intel NUC running the latest beta.

I have setup a fresh install of Domoticz under Bullseye. I have previously run the install of certbot with snapd, but without the letsencrypt drives the setup fails.

"Native secure access with Lets Encrypt" is still active on the site and a mix of lets encrypt and snapd.

What are the commands of running a certbot install on domoticz?

sudo certonly --webroot --email <your email> -d <your complete sub.domain name> -w <user home>/domoticz/www/ ???

Any help will be appreciated.

Re: Native secure access with snapd

Posted: Thursday 22 September 2022 21:27
by hjzwiers
I'm further now

First I install:

sudo apt install snapd
sudo snap install core
sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo certbot certonly --standalone

This works .... I now have an https connection though my domain!