Set value of MATLAB Production Server add-on property
prodserver.addon.set('TransportLayersecurity',tf) sets the
client-server communication to use HTTPS or HTTP by setting the value of the
TransportLayerSecurity property. If the value of
true, the client-server communication uses HTTPS; otherwise, it uses
This function requires MATLAB Client for MATLAB Production Server.
prodserver.addon.set('CertificateFile',path) sets the path to the
SSL certificate of the server that is saved on the client machine by setting the
CertificateFile property. You might need to set the path if you save
the self-signed SSL certificate of the server locally or for other testing purposes.
lets you set the
CertificateFile properties at the same time.
Use HTTPS when communicating with server instances by setting the
TransportLayerSecurity property to
This setting persists across MATLAB® sessions.
Before your client can communicate with a server that uses a self-signed SSL certificate, you must save the server certificate locally. For more information, see Save SSL Certificate of Server.
Then, set the path to the server certificate that you saved.
This setting persists across MATLAB sessions.