我们的服务器是nginx+php,实现了https协议,但我主要是负责seo这款!我用java-openStream模拟抓取网页代码,发现一个问题:
https://segmentfault.com
https://www.zhihu.com
都是可以正常捉去代码,而放到自己的网站却出现:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
知户和segmentfault社区:
请问应怎么设置?因为对https不熟悉,对https-seo也是第一次接触。
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。