Import Paid SSL Certificate on Nexcloud

Hi, We recently starting to use nextcloud server. I installed nextcloud with snap library. We gave static ip to open all to connect external user and share their files. And then we changed to domain name (10.34.100…->bulut.tabilac.com) . After we bought comodo ssl certificate. I’d like to import this .crt file and do not want to take any security error while we access to website.

How can I import ssl certificate? And If I repeat “sudo nextcloud.enable-https lets-encrypt” this process would I have a chance to not lose data and return the site alive?

There is so many work free ssl with letsencrypt, certboot but could not find related with paid ssl cert. Also comodo ssl give me this all crt and txt files. Not give me any pem etc. Can you help me to our ssl to activate.

image

Resource about install nextcloud ;

Nextcloud Version : 20.0.1 System Report
https://bulut.tabilac.com/index.php/s/Nowf38pMSWK5jFp
Password: tVdN4bbxaeUDR9RIApQM

Ubuntu 20.04 LTS Desktop Version
Server HP PROLIANT DL20 GEN 10

Hello @bahadirsoybakis,

welcome to the community of Nextcloud.

You started a topic in support category.

Unfortunately you ignored the template and a lot of information to help you is missing.

Please add all necessary information like Nextcloud version, webserver type and version, os version.

Without additional information the community members cannot help you .

it says that you should run the command with -h for more options. And in the sources I found this line:

Thanks @tflidd. I need to write about such as

nextcloud.enable-https custom cert.pem key.pem cert.pem

but I have just .crt files. After I generated pem and key files with rsa; Do you mind if I use the same .pem files? Or How can I generate them.