Metadefender Core supports accessing Web UI and REST interface via HTTPS. This feature is not enabled by default. To enable the feature you should modify Metadefender Core server configuration by following the next steps:
First create your certificate and key files in convenient directory. Let us take paths as an example /etc/ometascan/nginx.d/your.crt and /etc/ometascan/nginx.d/your.key for Linux and C:/Program Files/OPSWAT/Metadefender Core/nginx/your.crt and C:/Program Files/OPSWAT/Metadefender Core/nginx/your.key for Windows accordingly.
Create file ssl.conf in the directory /etc/ometascan/nginx.d
Enter SSL-configuration according to Nginx. To allow simple SSL one needs to add the following lines only:
Service restart is required.
Create file ssl.conf in the directory <Installation Directory>\nginx.
Enter SSL-configuration according to Nginx. To allow simple SSL one needs to add the following lines only (note the forward "/" slashes)
"C:/Program Files/OPSWAT/Metadefender Core/nginx/your.crt"
"C:/Program Files/OPSWAT/Metadefender Core/nginx/your.key"
A restart of the “OPSWAT Metadefender Core” service is required.
Note that certificate and key files should be obtained and saved by the user in a convenient location, adjust the paths accordingly.
Note: When choosing location for cert and key files, make sure the files are in a location which is readable to the service user.
For more SSL-options please consult Nginx documentation.