Enabling HTTPS
MetaDefender Storage Security can be configured to support HTTPS communication when accessing the Web UI and REST API.
Enable HTTPS on Windows-based deployments
In order to setup HTTPS communication please follow these steps:
- Obtain the certificate and the private key as two separate files (for example, crt.pem & key.pem )
- It is essential to rename the key file in the form of <name>.key such that the extension of the file is .key
- Place the certificates in docker\webclient folder inside the installation directory (by default, in C:\Program Files\OPSWAT\MetaDefender for Secure Storage\docker\webclient)
- Navigate to the docker folder (by default, in C:\Program Files\OPSWAT\MetaDefender for Secure Storage\docker)
- Open a PowerShell command prompt and run the following command
- Verify that HTTPS is configured correctly by navigating with your browser.
Enable HTTPS on Unix-based deployments
In order to setup HTTPS communication please follow these steps:
- Obtain the certificate and the private key as two separate files (for example, crt.pem & key.pem )
- It is essential to rename the key file in the form of <name>.key such that the extension of the file is .key
- Place your certificates in /etc/mdss/webclient/
- Run the enable_https utility by executing the following command:
- Verify that HTTPS is configured correctly by navigating with your browser.
Was this page helpful?