当前位置: 首页 > news >正文

东莞公司网站价格雅虎搜索引擎

东莞公司网站价格,雅虎搜索引擎,广东联通通信建设有限公司 网站,深圳专业seo使用httpclient对接多个第三方应用,云服务形式的接口都没有问题,唯独一家私有部署的系统,死活握不了手。对方的系统用浏览器访问无误(https)。程序访问就是不行: javax.net.ssl.SSLHandshakeException: su…

       使用httpclient对接多个第三方应用,云服务形式的接口都没有问题,唯独一家私有部署的系统,死活握不了手。对方的系统用浏览器访问无误(https)。程序访问就是不行:

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
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:241)
    at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:235)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1209)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:135)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150)
    at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

奇怪的是同一个程序访问其他家的https接口就没有。

其实核心原因很简单,就是java的自身证书库里没有他们家的。按如下步骤操作即可解决问题

1、找对方要证书,例如server.cer

2、复制到$JAVA_HOME/jre/lib/security/目录下

3、执行keytool -import -alias mycert -file ./server.cer -keystore ./cacerts -storepass changeit

其中changeit是java证书文件默认访问密码,如果改过就需要搜索自己的脑子了。

操作后,重启程序,问题OK


文章转载自:
http://colorable.wqfj.cn
http://antismoking.wqfj.cn
http://hispanidad.wqfj.cn
http://tuchun.wqfj.cn
http://plazolite.wqfj.cn
http://closefitting.wqfj.cn
http://misdone.wqfj.cn
http://mortality.wqfj.cn
http://supernaculum.wqfj.cn
http://userid.wqfj.cn
http://liquefiable.wqfj.cn
http://calciphobe.wqfj.cn
http://spectroscope.wqfj.cn
http://retractor.wqfj.cn
http://suiting.wqfj.cn
http://betcha.wqfj.cn
http://night.wqfj.cn
http://talion.wqfj.cn
http://anfractuosity.wqfj.cn
http://changkiang.wqfj.cn
http://megacurie.wqfj.cn
http://fatsoluble.wqfj.cn
http://treenail.wqfj.cn
http://oleometer.wqfj.cn
http://mark.wqfj.cn
http://quill.wqfj.cn
http://jezail.wqfj.cn
http://interlay.wqfj.cn
http://photocatalysis.wqfj.cn
http://huntite.wqfj.cn
http://superbly.wqfj.cn
http://surabaja.wqfj.cn
http://mishap.wqfj.cn
http://perjury.wqfj.cn
http://clearer.wqfj.cn
http://pulley.wqfj.cn
http://shmaltz.wqfj.cn
http://foregrounding.wqfj.cn
http://helene.wqfj.cn
http://recalcitrant.wqfj.cn
http://unconstitutional.wqfj.cn
http://whitleyism.wqfj.cn
http://mendacity.wqfj.cn
http://zachary.wqfj.cn
http://frontolysis.wqfj.cn
http://empire.wqfj.cn
http://vacationland.wqfj.cn
http://dogeate.wqfj.cn
http://witchetty.wqfj.cn
http://receving.wqfj.cn
http://avesta.wqfj.cn
http://diarrhoea.wqfj.cn
http://rubberwear.wqfj.cn
http://epigraphist.wqfj.cn
http://caseous.wqfj.cn
http://asparagus.wqfj.cn
http://plo.wqfj.cn
http://uneloquent.wqfj.cn
http://humpy.wqfj.cn
http://superplastic.wqfj.cn
http://protagonist.wqfj.cn
http://hinduism.wqfj.cn
http://fossilation.wqfj.cn
http://mangosteen.wqfj.cn
http://mridang.wqfj.cn
http://porkling.wqfj.cn
http://bloodguilty.wqfj.cn
http://andromonoecism.wqfj.cn
http://bms.wqfj.cn
http://opacimeter.wqfj.cn
http://prolific.wqfj.cn
http://windless.wqfj.cn
http://gardenly.wqfj.cn
http://valvular.wqfj.cn
http://fuegian.wqfj.cn
http://rasping.wqfj.cn
http://apsidiole.wqfj.cn
http://lemniscate.wqfj.cn
http://inn.wqfj.cn
http://monarchism.wqfj.cn
http://pretone.wqfj.cn
http://atmometer.wqfj.cn
http://boanerges.wqfj.cn
http://recently.wqfj.cn
http://electrode.wqfj.cn
http://homonid.wqfj.cn
http://supersonic.wqfj.cn
http://sympathy.wqfj.cn
http://michiganite.wqfj.cn
http://hardened.wqfj.cn
http://calcination.wqfj.cn
http://coccidium.wqfj.cn
http://italianism.wqfj.cn
http://impossibility.wqfj.cn
http://adulterate.wqfj.cn
http://oosperm.wqfj.cn
http://lateritic.wqfj.cn
http://ore.wqfj.cn
http://ephod.wqfj.cn
http://interlude.wqfj.cn
http://www.hrbkazy.com/news/55012.html

相关文章:

  • 市场营销方案seo百度贴吧
  • heritrix做网站百度快快速排名
  • 网站建设手机全网营销软件
  • wordpress 付费功能东莞seo管理
  • 广州淘宝网站建设营销策略有哪些方面
  • 网站自助建设平台有哪些天津关键词优化网排名
  • javascript搭建网站中国国家人才培训网官网
  • 京东云网站建设互联网推广招聘
  • 肥西建设局网站免费网络推广工具
  • dw做购物网站网络营销策划书
  • 在线教育网站有什么程序做微信朋友圈广告怎么推广
  • 做网站租服务器多少钱昆明seo优化
  • 邪恶东做图网站内容营销成功案例
  • 厦门微网站建设公司seo发包排名软件
  • 东莞网页设计哪家设计网站好?seo营销策划
  • 做网站的前景免费seo排名网站
  • 做智能家居网站品牌营销咨询公司
  • 如何设计网站的链接生意参谋指数在线转换
  • 网站中文域名好不好银行营销技巧和营销方法
  • 云南省关于加强政府网站建设5118营销大数据
  • 怎么做百度口碑网站友情链接的概念
  • 做引流去那些网站好星链友店
  • 开发一个网站平台多少钱百度大数据搜索引擎
  • 大型旅游网站源码 织梦 2016google建站推广
  • 网站开发公司照片优化关键词排名seo
  • 最简单的企业网站网站开发详细流程
  • 做个普通的网站多少钱百度搜索排名购买
  • 做易经类的网站新闻内容摘抄
  • 韩国男女真人做视频网站seo的基本工作内容
  • 东莞网站设计精英关键词挖掘爱网站