How to enable SSL

1 次查看(过去 30 天)
Lucy Yang
Lucy Yang 2021-5-17
Hi there, I installed the MATLAB web app server, and deployed test apps, accessed from a different machine with the specific URL provided by the installor and everything works.
Now I would like to enable SSL. I've got a .cert file and installed on the server, but can you help me convert to .pem format and where/how can I find the private key file. FYI, this is a Windows 2019 server.
Thanks
Lucy
  3 个评论
Lucy Yang
Lucy Yang 2021-5-18
Replace the localhost with the actual server name, then you would be able to access from a different machine on the same network
Dhananjay Hiwase
Dhananjay Hiwase 2021-5-20
Yes it is working, but on same network,
my group member is sitiing at other city , how he can access it , we are on different network?
Is SSL the only solution for it or using that? or the same can work,
basically I want to share link to my group member and professor who are using their own internet

请先登录,再进行评论。

回答(1 个)

Kojiro Saito
Kojiro Saito 2021-5-18
As of R2021a, MATLAB Web App Server currently supports only pem format.
I didn't test by myself, but using OpenSSL, we can convert cert file to pem format.
openssl x509 -inform der -in certificate.cert -out private_key.pem

类别

Help CenterFile Exchange 中查找有关 MATLAB Web App Server 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by