![](/static/61a827a1/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
2·
2 days ago3 people independently advice dns challenge. They all deserve the same appreciation don’t they?
3 people independently advice dns challenge. They all deserve the same appreciation don’t they?
Would a bot tell you? 🧐
Thanks for the reply, among all answers I chose this. Just because it works for me.
Thanks for the reply, among all answers I chose this. Just because it works for me.
Thanks for the reply, among all answers I chose this. Just because it works for me.
This worked great. For those looking to apply the same solution. And running Nextcloud in snap. You need a cert.pem, key.pem and chain.pem file. The latter can be found here: https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/#cloudflare-origin-ca-root-certificate The cert and key can be generated from your Cloudflare Dashboard under Domains > SSL/TLS > Edge Certificate.
Place all three files in
/var/snap/nextcloud/12345/certs/live/
where 12345 can vary for you.Finally
sudo nextcloud.enable-https custom cert.pem key.pem chain.pem
Profit!