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

Java Https自签证书访问 — viakiba #15

Open
viakiba opened this issue Sep 21, 2018 · 0 comments
Open

Java Https自签证书访问 — viakiba #15

viakiba opened this issue Sep 21, 2018 · 0 comments

Comments

@viakiba
Copy link
Owner

viakiba commented Sep 21, 2018

https://blog.viakiba.cn/2018/09/08/Java-HTTPS-%E8%87%AA%E7%AD%BE%E8%AF%81%E4%B9%A6%E8%AE%BF%E9%97%AE/

缘起 由于所在项目中根据安全的考虑,各服务之间的调用都必须启用 Https 。由于是内部间的调用,所以可以使用自签的证书来完成此要求。此时牵涉到一个问题就是自签证书的并不在Java的CA证书库下。所以在访问此链接是会出现类似的如下错误:

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

No branches or pull requests

1 participant