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

不能使用https方式进行配置,只能http配置 #42

Open
lostars opened this issue Jan 24, 2025 · 0 comments
Open

不能使用https方式进行配置,只能http配置 #42

lostars opened this issue Jan 24, 2025 · 0 comments

Comments

@lostars
Copy link

lostars commented Jan 24, 2025

http域名配置访问测试正常,换成https就报错。https域名可以在浏览器正常访问并登陆。http和https都带端口。

报错日志:

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

	at java.base/sun.security.validator.PKIXValidator.doBuild(Unknown Source) ~[na:na]

	at java.base/sun.security.validator.PKIXValidator.engineValidate(Unknown Source) ~[na:na]

	at java.base/sun.security.validator.Validator.validate(Unknown Source) ~[na:na]

	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source) ~[na:na]

	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source) ~[na:na]

	... 30 common frames omitted

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

	at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source) ~[na:na]

	at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source) ~[na:na]

	at java.base/java.security.cert.CertPathBuilder.build(Unknown Source) ~[na:na]

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

No branches or pull requests

1 participant