Matlab web app server error updating SSL Cert and Key files
Afficher commentaires plus anciens
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?
Réponses (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 commentaire
Nolan
le 20 Mar 2026 à 13:31
Catégories
En savoir plus sur MATLAB Web App Server dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!