0 votes

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 :/

Tried:

  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

Godot version godot-stable-3.4.4
in Engine by (57 points)

1 Answer

0 votes
Best answer

I dont know the answer, but if you need you can download https://letsencrypt.org/

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).

by (805 points)
selected by

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.

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

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.

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.