Self-signed cert for snap

I’m setting up just a home LAN installation. I used Ubuntu 18.04, and actually picked it from Ubuntu’s installation menu. I now realize that that means it uses the snap package of Nextcloud.

Anyways, in the help docs here:
there are instructions on enabling Apache’s built-in self-signed cert. This doesn’t work on the snap version. Does anyone know how to accomplish the same thing in the snap version?


1 Like

Hi Tia,

Try the command:

sudo nextcloud.enable-https self-signed.

Kind regards,


Thank you!

For Snap-Users:

sudo /snap/bin/nextcloud.enable-https self-signed
sudo /snap/bin/nextcloud.enable-https lets-encrypt

snap user version 2 that works well:

sudo snap run nextcloud.enable-https self-signed