Closed Nammi-namm closed 5 days ago
The way this is fixed for my Headless image:
# Fix the LetsEncrypt CA cert
RUN sed -i 's#mozilla/DST_Root_CA_X3.crt#!mozilla/DST_Root_CA_X3.crt#' /etc/ca-certificates.conf && update-ca-certificates
Unfortunately neither A) or B) are viable solutions right now.
A) On Linux, you need to use Mono to run the server. We will switch to .NET 8+ at some point, but that's not a quick solution B) The Skyfrost Archive service for R2 buckets is managed by Cloudflare and we don't control the certificates they use.
In absence of any other solutions you might just need to update your Mono certificates to work around this.
Any updates on this issue ?
Everything Frooxius said above is still current, @win189. We've not yet moved over to .NET 8+, and as he indicated, we don't control which certificates Cloudflare use.
"In absence of any other solutions you might just need to update your Mono certificates to work around this."
Since the Headless Client, also known as the Headless Server Software, is now on .NET 8, this issue should be resolved now, correct?
This issue should have been implicitly resolved by #2265.
Describe the bug?
Basically Mono has a garbage SSL certificate store and doesn't work properly with Let's Encrypt, at least not reliably. The workaround for this is to either A) not use Mono or B) use any SSL certificate other than Let's Encrypt. Actual SSL certificates are stupidly cheap these days so that shouldn't be an issue, alternatively there's a handful of free SSL providers now (some even compatible with certbot) that could be used instead, none of which have this issue (that I'm aware of).
To Reproduce
Use a Linux server running Mono. You'll see errors like:
... resulting in those connections outright failing.
Expected behavior
For the connection to succeed.
Screenshots
No response
Resonite Version Number
Beta 2023.10.19.620
What Platforms does this occur on?
Linux
What headset if any do you use?
No response
Log Files
Headless log showing the issue:
headless.log
Additional Context
Tangently this is also why https:// links to some content content outside of Neos/Resonite in worlds didn't work, again I assume due to the use of Mono so it's all round best that anyone also hosting content for the game outside of the platform itself also avoid using Let's Encrypt.
Reporters
Enverex @enverex