How to troubleshoot MetaDefender Managed File Transfer becomes unreachable after enabling HTTPS?
This situation is usually caused by a process using the port 80 while NGINX is also trying to use that server. To check if this is true, please follow the below steps:
- Run the command netstat -np TCP | find ":80" in CMD admin to view the existing processes using port 80
- Once identified, copy the PID inside the command tasklist.exe /v /fi "PID eq 777", replace 777 with the PID of the process that uses port 80.
- If the Process is System, then it means that the server has the IIS service installed.
Moving forward, please check if the process identified can be removed or not.
- If the process can be removed, please remove it, and restart the OPSWAT MetaDefender Managed File Transfer Helper, then MetaDefender Managed File Transfer should come up.
- If the process cannot be removed, please follow the below steps:
- Please navigate to C:\Program Files\OPSWAT\MetaDefender Managed File Transfer\WebServer\conf and open dynamic.conf in a Notepad run as admin.
- Remove the following lines:
x
server {
listen 0.0.0.0:80;
return 301 https://$host:8010$request_uri;
}
- Once edited, please save and close the dynamic.conf.
- Please go to Windows Services and restart the following MetaDefender MetaDefender Managed File Transfer services for the configuration to be complete:
- OPSWAT MetaDefender Managed File Transfer Helper
- OPSWAT MetaDefender Managed File Transfer Processor
- OPSWAT MetaDefender Managed File Transfer REST
- The MetaDefender MetaDefender Managed File Transfer web UI should be accessible now.
Replace an Expired SSL Certificate
Before SSL certification replacement, follow the below steps on MFT UI:
- Disable HTTPS: Temporarily turn off HTTPS in MFT to avoid interruptions during the certificate replacement process
- Remove Expired SSL Certificate: Delete the expired certificate from the MFT configuration to prevent conflicts
- Add a Valid SSL Certificate: Add new, valid SSL certificate
- Configure HTTPS: Configure MFT to use the newly added SSL Certificate
- Enable HTTPS Again: Re-enable HTTPS to secure connections with the newly installed certificate
MFT validates SSL certificates when applying a new SSL certification. If an expired SSL certificate is detected, MFT UI will not respond over HTTPS. In such cases, use the Change Protocol tool to apply a valid SSL certification.
If Further Assistance is required, please proceed to create a support case or chat with our support engineer.
Was this page helpful?