0 votes

I am trying to get SSL/https connection working in my game.

I've got a Let'sEncrypt certificate which I use on sub-domain https://rud.upcode.pl and its working properly.

In my Godot's project settings, I've added my certificate.crt under
Project Settings->SSL->certificates tab.

I've also added .crt files to export, in export->resources.

Anyway, when I try to make requests to my hosts (rud.upcode.pl) I get in the console things like:

HTTPClient entered status 3
CONNECTION RESULT: -1
HTTPClient entered status 5
HTTPClient entered status 8
Connection Error

I am using a client wrapper from this gist:
https://gist.github.com/bibby/9150165

Any idea what should I change to make SSL working?

asked Aug 1, 2017 in Engine by desik (56 points)

1 Answer

+1 vote

I encountered the same thing with Let'sEncrypt
It was working with a self signed certficate setup, but not with the downloaded seperate certifcate from Let'sEncrypt.
With the certificate bundle from the godot git repository however it does work with the Let'sEncrypt setup.
Got the answer from here:
https://godotengine.org/qa/29068/httprequest-and-https-certificates?show=29068#q29068

answered Jun 15, 2018 by ictbram (31 points)
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 How to use this Q&A? before posting your first questions.