Failed to verify cert actions register

Currently we are using a self signed certificate as we are implementing/testing gitea actions to see if supports the needs for application. We have no issues accessing the gitea site, but when running the gitea-action register we get the following error

ERROR Cannot ping the Gitea instance server         error="unavailable: tls: failed to verify certificate: x509: certificate signed by unknown authority"

Same problem for me . There is any chance to register gitea action on instance with self signed certificate ? HELP pls.

@LucaG70 I was able to resolve this by using a custom .config file for the act runner and enabling unsecure trust.
runner:
insecure: true

Many Thanks @zoxendine !! just changing this setting ( insecure ) from default false to true allow to register the action runner on my gitea instance.