Nextcloud+OnlyOffice+self-signed SSL

Nextcloud and OnlyOffice
with self signed SSL certificates

To operate with Nextcloud and Onlyoffice without a “real / public” ssl certificate you just have to import your certificates into Nextcloud:

Logon as a priviliged user

sudo -s

and import your self-signed certificate into your Nextcloud:

sudo -u www-data php /var/www/nextcloud/occ security:certificates:import import /etc/ssl/certs/ssl-cert-snakeoil.pem

Restart both, the webserver and php

service nginx restart && service php7.4-fpm restart

and enable as well the Community Document Server– as the ONLYOFFICE-app.

That’s it – enjoy your Nextcloud and your (Only)Officesuite.

My twins, my wife and me do really appreciate any donation!
My twins, my wife and me do really appreciate any donation!

Carsten Rieger

Carsten Rieger is a senior system engineer in full-time and also working as an IT freelancer. He is working with linux environments for more than 15 years, an Open Source enthusiast and highly motivated on linux installation and troubleshooting. Mostly working with Debian/Ubuntu Linux, Nginx and Apache web server, MariaDB/MySQL/PostgreSQL, PHP, Cloud infrastructure (e.g. Nextcloud) and other open source projects (e.g. Roundcube) and in voluntary work for the Dr. Michael & Angela Jacobi Stiftung for more than 7 years.