For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

NetherNet

This page covers how to use our HTTPS signaling, to enable end to end encrypted communications for players

By default, our edge assumes HTTP signaling only for maximum compatibility and setup flexibility. While this is convenient for getting something up quickly, it comes with drawbacks. Namely, users will face an in-game warning when connecting the first time, and player facing connections will not be encrypted.

Bedrock support, including certificates, is a Premium Plan only feature. To upgrade, please go to our plans page.

To get started, first enable nethernet transport mode in Geyser config and restart.

bedrock:
  # How Bedrock players can connect. Changes require a restart.
  transport: nethernet

By issuing, or manually uploading a certificate for your domain, our edge responds with signaling over HTTPS instead. Players then receive an encrypted connection for your Bedrock tunnel and see no in-game trust prompt as well. For managed certificates, they are issued automatically via Let's Encrypt and renewed every 64 days automatically.

This guide covers how to generate a managed certificate for one or more domains, so you can get up and running quickly on serving HTTPS facing connections for your players.

A few things to note before you begin

  1. You must enable HTTPS signaling on the underlying Bedrock tunnel first before it can work. Click "Edit" next to your Bedrock tunnel and enable the "Use HTTPS Signaling" option

  2. In the case you upload your own certificate, you must manage its expiry yourself. If your certificate expires, players will fall back to HTTP

  3. Proxy protocol is inferred from your backend automatically. If you have it active on Geyser, our edge picks it up and uses it automatically. Ensure you add https://tcpshield.com/v4/ to your haproxy-protocol-whitelisted-ips section in the Geyser config

    1. Example: haproxy-protocol-whitelisted-ips: ["https://tcpshield.com/v4/"]

Step 1: Add the certificate

From the Networks section, click Bedrock, and then Certificates tab.

If you have a domain verified already, you will see it listed under "Detected domains" with an "Enable HTTPS" button. You can simply click that, and it will walk you through the flow to add the DNS records you need for a managed certificate. Otherwise, you can add a domain yourself via the "+ Add Certificate" button.

When you enable HTTPS or create a certificate, the following modal will appear. If you use subdomains, we recommend choosing the first option so that it covers both your apex domains and all subdomains within it. Click continue.

Step 2: Add DNS record

This DNS record's purpose is to allow Let's Encrypt to issue your managed certificate.

If you are using Cloudflare, that record will look like so in our given example. Copy the values exactly as given to you from the panel.

Copy the Name and Target exactly as shown in the popup. The DNS record will generally look like this if not using Cloudflare:

Type
Name
Target

CNAME

_acme-challenge.example.com

<your-cname>.acme.bedrock.tcpshield.com

A wildcard only covers one level deep. So if using *.example.com, it will not cover *.eu.example.com. Create an additional for eu.example.com if you are using more than one level deep.

If no DNS record exists for the ACME challenge yet, a warning will be displayed like above

If everything is correct, the Status will change to "Issuing". Give it a few minutes.

You can also click "Check now" to force a check instead of waiting for the next automatic one. If something goes wrong, it will show Failed under the status and the reason will be displayed when you click "Instructions"

If everything is correct, the status will flip to Active, and our edge will begin serving the certificate immediately. You do not need to worry about expiration, as we automatically renew and roll over managed certificates on your behalf.

Step 3: Enable HTTPS signaling on the tunnel

With your certificate now active, it is time to enable HTTPS signaling on all Bedrock tunnels you wish to have it active on. Head on over to the Tunnels tab on the left side (in the Bedrock section) and click edit next to the tunnel of choice.

Once you click edit, there will be a single checkbox. Enable HTTPS signaling on the tunnel.

Click Save, and you are done. You can then head over to the Certificates tab again to see how many of your tunnels have HTTPS enabled. In my case, it will show "1 of 1 active".

Players who now join by your domain now connect over a secure, encrypted connection with no untrusted certificate warning shown by the client 🎉

Troubleshooting

In the case your certificate issuance status is stuck on "Waiting for DNS", double check that you have copied the provided values in step 2 correctly to your DNS manager. For Cloudflare, proxied status must be turned off.

A quick dig command can also confirm the record is created correctly

You should see an output such as your-acme-value.acme.bedrock.tcpshield.com.

You can click "Check now" as many times in the process via the table to force a re-check. Once a certificate is Active, and your Bedrock tunnel has HTTPS signaling enabled, there is nothing further to do. All player facing connections are end to end encrypted.

Last updated

Was this helpful?