X509: certificate is not valid for any names

Hi all!

When trying to connect the runner gives the following error


INFO Registering runner, arch=amd64, os=linux, version=v0.1.8.
INFO Runner name is empty, use hostname 'gitea-run'.
ERRO Cannot ping the Gitea instance server         error="unavailable: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match home.url.net"
ERRO Cannot ping the Gitea instance server         error="unavailable: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match home.url.net"
^CERRO Cannot ping the Gitea instance server         error="unavailable: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match home.url.net"
ERRO Cannot ping the Gitea instance server         error="unavailable: tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match home.url.net"

My command connect:

./act_runner register --no-interactive --instance https://home.url.net --token bXQasdasdsaKvHgdwfasd213120RZVr3O2I

Uploaded the certificate and did a check

openssl verify -CAfile /etc/ssl/certs/ca-certificates.crt example.crt
example.crt: OK

While I decided to run the docker image GitHub - vegardit/docker-gitea-act-runner: Docker image based on debian:stable-slim to run Gitea's act_runner as a Docker container