Thanks Sergey for your earlier reply.
I have generated a self-signed cert as per the Mongoose OS security user guide:
openssl req -nodes -new -x509 -keyout key.pem -out cert.pem
mos put cert.pem
mos put key.pem
mos config-set http.listen_addr=443 http.ssl_key=key.pem http.ssl_cert=cert.pem
When I connect to my device, It seems that no error comes out. It shows an incoming connection from 192.168.4.3:56854
(My PC), but after that, nothing happens. On my PC side it times out. I cannot make any RPC calls via HTTPS.
Thanks for your generous help and support!
[Jun 26 15:31:54.916] mgos_wifi_on_change_ a0:c5:89:87:b8:7e connected
[Jun 26 15:31:55.077] mongoose_poll New heap free LWM: 35152
[Jun 26 15:31:55.269] mongoose_poll New heap free LWM: 35144
[Jun 26 15:32:07.467] mongoose_poll New heap free LWM: 35000
[Jun 26 15:32:07.674] mongoose_poll New heap free LWM: 33456
[Jun 26 15:32:07.867] mongoose_poll New heap free LWM: 33000
[Jun 26 15:32:16.292] mongoose_poll New heap free LWM: 30424
[Jun 26 15:32:21.625] mgos_http_ev 0x3fff3174 HTTP connection from 192.168.4.3:56854
[Jun 26 15:32:21.625] mongoose_poll New heap free LWM: 24752