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.
With snap deployment, it’s pretty simple to install a paid certificate.
Step One
Copy the certificate files, (cert file, pvtkey file and chain file) in a directory like /var/snap/nextcloud/current/certs/custom/
Step Two
Run following command with sudo, make sure to change the name of the cert files as per your own while staying with same directory as the location of the files.
cd /var/snap/nextcloud/current/certs/custom/ sudo nextcloud.enable-https custom -s cert.pem privkey.pem chain.pem
This will enable the https and setup will work via port 443
I have the done the same with my installation and worked fine.
Hey,
if already found it BUT it won´t work for me and I just dont know why @bahadirsoybakis is using the exact same ca issuer then me so it would be perfect to hear from what he did to solve the probleme.