Matlab web app server error updating SSL Cert and Key files
Show older comments
My SSL/TLS cert expires every 60days and requires me to update the .pem files on my web app server hosted on AWS. I stop the server to change the files but get the following logs path error when restarting. MATLAB Web App Server service failed to start.
No logs were written. Check that "logs_path" is writable by the service users. The only work around I’ve found is uninstall and reinstalling, which can be tedious with license sometimes. Any help replacing SSL .pem files would be great. I wonder if it’s if the old cert and key are stuck cached somewhere? The .pem files work on reinstall. Does the server license file expire after a certain time?
Answers (1)
Hello,
MathWorks imposes strict requirements: Enable SSL on MATLAB Web App Server - MATLAB & Simulink
- The certificate must be PEM format.
- Intermediate certificates are not supported.
- The private key must:
- be unencrypted (no password)
- be 2048–4096 bits
- be readable only by the server user
- The paths set in webapps-config must point to the correct files.
If any of these is wrong, the server silently fails.
MathWorks specifies that you must update the certificate via the webapps-config command-line tool, not by manually replacing files.
Hope this helps.
1 Comment
Nolan
on 20 Mar 2026 at 13:31
Categories
Find more on MATLAB Web App Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!