Voci con l'etichetta :
Provalo nel cloud

Switching your ONLYOFFICE DocSpace Community to HTTPS when installing from RPM/DEB packages


When you install ONLYOFFICE DocSpace Community from RPM/DEB packages, you can use the letsencrypt.org service and script to easily create a CA-signed certificate and switch the portal to HTTPS with a single command.

The article below will explain this can be done.

Creating and installing CA-signed certificate

Run the following script:

bash /usr/bin/docspace-ssl-setup EMAIL DOMAIN


  • EMAIL is the email used for registration and recovery contact. Use comma to register multiple emails, for example: u1@example.com,u2@example.com.
  • DOMAIN is the address of the domain where your ONLYOFFICE DocSpace Community portal is installed.

The script will automatically create and install the letsencrypt.org CA-signed certificate to your server and restart the NGINX service for the changes to take effect.

Now your portal should be available via the https:// address.

Using own certificates

You can use your own certificates via the -f parameter:

bash /usr/bin/docspace-ssl-setup -f CERTIFICATE PRIVATEKEY


  • CERTIFICATE is the path to the certificate file for the domain.
  • PRIVATEKEY is the path to the private key file for the certificate.

Now your portal should be available via the https:// address.

Download Host on your own server Available for
Docker, Windows and Linux
Ti potrebbe essere d'aiuto anche...