Error on gitlab runner register

Hi all. I am trying gitlab on docker for test purposes and now I am trying to add a GL runner but I got the following error

ERROR: Registering runner… failed runner=XNw-qUSx status=couldn’t execute POST against https://my-host.local/api/v4/runners: Post “https://my-host.local/api/v4/runners”: x509: certificate relies on legacy Common Name field, use SANs instead
PANIC: Failed to register the runner. You may be having network problems.

What could it be?

Cheers

Hi all. anyone on this issue?
Cheers