Help setting external access to nextcloud

Progress! :raised_hands:

HTTPs showing an error is fine, you just need to replace the built in certs with your actual - purchased or free (via LetsEncrypt) - SSL certificates.

In the vhost conf replace:

SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

With (for traditional SSL providers):

SSLEngine on
SSLCertificateFile /path/to/ssl/cert.crt
SSLCACertificateFile /path/to/chain.ca-bundle
SSLCertificateKeyFile /path/to/ssl/key.key

Or (for LetsEncrypt)

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/DOMAIN_HERE/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/DOMAIN_HERE/privkey.pem

Paste the output of your cron and how you edited it please.

I’ve also found that using openssl to create a self-signed cert for testing purposes is very useful.

 openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout nexcloud_private_certificate.key -out nextcloud_public_certificate.crt