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: nextcloud.cloud4y.ru

IP address: 1.1.1.1

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 --value=nextcloud.cloud4y.ru

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 Cloud4U cloud services? Not yet?

Go to the Main Website

Try for free

  • nextcloud, storage, cloud, cloud storage
  • 236 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...