Hacking on Gitea Actions - Blog

Fri Mar 31, 2023 by wolfogre


This is a companion discussion topic for the original entry at https://blog.gitea.io/2023/03/hacking-on-gitea-actions/

Hello,

Thank you for this useful tutorial.

Is it possible to register a runner when an auto signed certificate is used with gitea instance? Or should I use http instead?
I have this error when I try to register runner:
./act_runner register --no-interactive --instance https://gitea.local --token SF…
INFO Registering runner, arch=amd64, os=linux, version=v0.0.1-42-g7e7096e.
WARN Runner in user-mode.
INFO Runner name is empty, use hostname ‘gitea’.
ERRO Cannot ping the Gitea instance server error=“unavailable: tls: failed to verify certificate: x509: certificate signed by unknown authority”

I have the very same issue … There is a solution for registering an auto signed certifiate used on a gitea instance ??

A self signed certificate is unsafe. You can request a free SSL certificate from https://letsencrypt.org/.

A self-signed certificate is unsafe. You can request a free one on https://letsencrypt.org/

A self-signed certificate is unsafe. You can request a free one from Let’s Encrypt.