Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 上游服务是https服务(证书私有)请求报x509: cannot validate certificate错误 #127

Open
xupeichun opened this issue Aug 23, 2023 · 3 comments

Comments

@xupeichun
Copy link

Current Behavior

bug: 上游服务是https服务(证书私有)请求报x509: cannot validate certificate错误

Expected Behavior

No response

Error Logs

x509: cannot validate certificate for ip because it doesn't contain any IP SANs

Steps to Reproduce

bug: 上游服务是https服务(证书私有)请求报x509: cannot validate certificate错误

Environment

  • APINTO version (run apinto version):
  • Operating system (run uname -a):
    bug: 上游服务是https服务(证书私有)请求报x509: cannot validate certificate错误
@Dot-Liu
Copy link
Collaborator

Dot-Liu commented Aug 23, 2023

这个不是bug,只是我们强制对证书做了检查,如果您需要跳过检查,可以修改代码进行支持
afc41c2e006b943cc56db0140ecbec3e
后续我们考虑将是否跳过证书检查作为一个选项供使用者选择,更新后我再通知您

@fulus06
Copy link

fulus06 commented Sep 9, 2023

意思是不能使用私有证书还是上游服务不能使用https?

@Dot-Liu
Copy link
Collaborator

Dot-Liu commented Sep 10, 2023

上游服务不能使用无效证书,包括过期证书和自签证书

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants