Self-Signed cert on HTML5

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By liss22

Hi, this is simple question.

  1. copy Websocket SSL sample code on new project and run
  2. run on other platforms work well (Linux, Android etc…)
  3. run on HTML5 will not working

I wonder is it impossible to use self-signed websocket client ssl on HTML5
Because this will make me buy a cert :confused:


  1. load *.crt file on runtime = load failed (Null object)
  2. Set Network/SSL/Certificates on project setting = i donno why but not working

*No need to websocket server on HTML5

:bust_in_silhouette: Reply From: wyattb

I dont know the answer, but if you need you can download

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG).

I second letsencrypt. I use it on all of my domains. Self-signed certs are soon to be no longer supported on either browsers or servers, and letsencrypt obviates the obstacle of cost. There is no reason to use self-signed certs.

stormreaver | 2022-07-25 21:24

oh, this is nice information. is letsencrypt generate exactly key-cert files?

liss22 | 2022-07-26 00:29

Yes, it generates everything you need. I recommend looking up some tutorials, as it’s been a long time since I got my first certificate, and I don’t know what the process is anymore for getting the first certificate.

stormreaver | 2022-07-26 00:38

ok, it needs to be study. I’ll check this on my own. Thank you for your reply! :slight_smile:

liss22 | 2022-07-27 00:47