HTTPS Server on FreeMaster Lite

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HTTPS Server on FreeMaster Lite

跳至解决方案
1,504 次查看
alex_ga
Contributor I

Hi,

Is it possible to create a HTTPS Server on FreeMaster Lite?

I've seen examples over HTTP but none of them mentions HTTPS.

 

Thanks in advance,

Alex

0 项奖励
1 解答
1,501 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @alex_ga,

Yes you can create a HTTPS server. In order to enable it you need to add SSL option to the configuration file. You will need to provide a security key and a certificate.

{
  "port": "8090",
  "web_root": "C:/NXP/FreeMASTER 3.2/FreeMASTER Lite/html",
  "node_red": true,
  "ssl": {
    "key": "./key.pem",
    "cert": "./cert.pem"
  }
}

 Once the server is started the web content will be served via HTTPS and the JSON-RPC API via WSS.

在原帖中查看解决方案

2 回复数
1,416 次查看
Imaaronsmith
Contributor I

 I don't think so, FreeMASTER is a tool for real-time data visualization. FreeMASTER enables non-intrusive variable monitoring on an embedded system using J-Link and the MCU's debug interface. click here to know more about it 

0 项奖励
1,502 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @alex_ga,

Yes you can create a HTTPS server. In order to enable it you need to add SSL option to the configuration file. You will need to provide a security key and a certificate.

{
  "port": "8090",
  "web_root": "C:/NXP/FreeMASTER 3.2/FreeMASTER Lite/html",
  "node_red": true,
  "ssl": {
    "key": "./key.pem",
    "cert": "./cert.pem"
  }
}

 Once the server is started the web content will be served via HTTPS and the JSON-RPC API via WSS.