- Home
- Workspace
- Installation
- Enterprise
- Windows
- Switching your office to HTTPS for the Windows version
Switching your office to HTTPS for the Windows version
Introduction
When you install ONLYOFFICE Workspace Enterprise Edition under Windows, the HTTPS section will be absent from the Control Panel. This does not mean that you will not be able to switch your portal to HTTPS protocol.
Starting with version 9.1 letsencrypt.org service and script are used to easily create a CA-signed certificate and switch the portal to HTTPS with a single command.
The article below will explain how this can be done. To install your own certificate, please refer to this article.
Creating and installing CA-signed certificate
Run Windows PowerShell as administrator. By default, PowerShell is installed at the following path:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
In the PowerShell console, go to the \Tools\
directory. To do that, use the following command:
cd "C:\Program Files (x86)\Ascensio System SIA\CommunityServer\Tools"
Run the following script:
./letsencrypt.ps1 yourdomain.com subdomain1.yourdomain.com subdomain2.yourdomain.com
Where yourdomain.com
is the address of the domain where your ONLYOFFICE Workspace Enterprise Edition portal is installed, and subdomain1.yourdomain.com
and subdomain2.yourdomain.com
(and any other subdomains separated with a space) are the subdomains for the main domain which you use.
ping
command), otherwise the certificate will not be issued.The script will create and install the CA-signed certificate to your server.
Now, your portal should be available using the https:// address.