gitlab代码源授权失败

gitlab代码源授权失败,阿斯兰日志提示HandleCallback err:Post "https://../oauth/token": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match ..,

gitllab没有ssl 证书配置