Gitlab-Runner registration failed
-
Installed the latest Version(15.1) of gitlab on a clean Linux Machine to test CI/CD
-
Installed the Gitlab-Runner for the CI/CD Pipelines
-
Installation was succesfully
-
Tried to register the runner, which leads to the Error : 500 internal Sever Error
-
Changed installation to use a self signed certificate and again tried the registration, now the following Error occured x509: certificate relies on legacy Common Name field, use SANs instead
-
tried the Command :curl --request POST -k "https://gitlab-local.xxxxx.net/api/v4/runners"
--form "token=GR1348941Fcy4dyy27CxMqVyoCCxK" --form "description=Testing"
--form "tag_list=tag1,tag2" and still got an Error 500 -
checked the production log under :/var/log/gitlab/gitlab-rails/production.log -> Can't verify CSRF token authenticity.