Rancher Agent - Failed to connect to proxy

I tried setting up a HA Rancher cluster using the Air Gapped guide.
I’m trying to create a new cluster from custom machines, and after running the agent image on the target machine, it doesn’t seem to connect. After reading the logs, I found this error:
Connecting to proxy url=“wss://[rancher url]/v3/connect/register” with token [token]
Failed to connect to proxy. Empty dialer response error=“tls: failed to parse certificate from server: asn1: structure error: base 128 integer too large”
Remotedialer proxy error error=“tls: failed to parse certificate from server: asn1: structure error: base 128 integer too large”

I’ve looked online and saw that this is an error in Go, but I didn’t see a solution as to how I should change my certificates or if there’s a workaround to this.
Any help? This is the last obstacle we have before we’re able to run Rancher in production.

Hey did you manage to resolve your issue?