Unable to register runner using docker image

I’m getting the following error during the runner register.

ERROR: Registering runner… failed runner=zAGuvrK_ status=couldn’t execute POST against https://x.x.x.x/api/v4/runners: Post https://x.x.x.x/api/v4/runners: x509: cannot validate certificate for x.x.x.x because it doesn’t contain any IP SANs
PANIC: Failed to register the runner. You may be having network problems.