Connecting SSL certificate from Lets' Ensrypt in Nextcloud

Nextcloud has the option of using a free SSL certificate Let's Encrypt.

This is relevant if the user has his own domain or can buy it. And if you want to remove the browser warning about working with an untrusted SSL certificate. This warning occurs because, by default, Nextcloud uses a self-signed SSL certificate issued "to itself", not a certificate issued by a trusted certificate authority, which browsers consider reliable.

To create and configure the certificate Let's Encrypt is necessary:

1. In the DNS zone of your domain, create an "A" record with the desired Nextcloud server name and the IP address of your virtual datacenter.

For example,

Server name:

IP address:

2. Log in to the server console via the Cloud Control Panel or using an SSH client.

3. Run a command in the console:

snap run nextcloud.occ config:system:set trusted_domains 1 --value=your_server name

For example,


snap run nextcloud.occ config:system:set trusted_domains 1

4. Run a command in the console:

snap run nextcloud.enable-https lets-encrypt

Once the command is started, it will be necessary:

 - accept installer's requirements,

 - enter your e-mail address,

 - enter the server name

5. After these steps, you can log on to the server by name and enjoy the absence of alerts in your browser.

Have you tried Virtual cloud servers by Cloud4Y? Not yet? 


Leave a request and get a 10-day free trial. 


Смотреть подробности   
  • nextcloud, storage, cloud, cloud storage
  • 176 Users Found This Useful
Was this answer helpful?

Related Articles

Connecting the S3 object storage to Nextcloud

S3 object storage is a capacitive and inexpensive service for storing various data types that...

Deploying Nextcloud from a template

  Go to the vAPPS tab, select add vapp from catalog. Then select the template in accordance...