How to Connect an SSL Certificate From Lets' Ensrypt in Nextcloud

Nextcloud offers the option to use a free SSL certificate from Let's Encrypt. This is relevant if you have your own domain or can purchase one. If you want to remove the browser warning about working with an untrusted SSL certificate, you should consider using Let's Encrypt. By default, Nextcloud uses a self-signed certificate issued "to itself", which browsers consider unreliable.

To set up Let's Encrypt, you need to:

1. Create an "A" record in your domain's DNS zone with the desired Nextcloud server name and IP address of your virtual data center. For example,

- Server name: nextcloud.cloud4u.com

- IP address: 1.1.1.1

2. Login to the server console using the Cloud Control Panel or an SSH client.

3. In the console, run the following command:

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

For example:

snap run nextcloud.occ config:system:set trusted_domains 1 --value=nextcloud.cloud4u.com

4. Run the following command in the terminal:

`snap run nextcloud.enable-https lets-encrypt`

After the command has started, you will need to:

- Accept the installer's terms and conditions.

- Enter your email address.

- Specify the server name.

5. Once these steps are completed, you can access the server using the specified name and enjoy a more secure browsing experience without any alerts.

Have you tried Cloud4U cloud services? Not yet?

Visit Website

Try for free

  • nextcloud, storage, cloud, cloud storage
  • 236 Users Found This Useful
Was this answer helpful?

Related Articles

Deploying Nextcloud from a template

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

Connecting S3 Object Storage to Nextcloud

S3 Object Storage is a scalable and cost-effective service for storing large amounts of data that...