Could not generate DH keypair(httpclient)
2016-06-01 20:26
471 查看
Source from here
Add this library to classpath(following is maven project)
<dependency> <groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
Add following line before access https resource:
Security.addProvider(new BouncyCastleProvider());...HttpClient client = ...HttpGet get = new HttpGet("https://domain")client.execute(get,repsonse);...
Add this library to classpath(following is maven project)
<dependency> <groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
Add following line before access https resource:
Security.addProvider(new BouncyCastleProvider());...HttpClient client = ...HttpGet get = new HttpGet("https://domain")client.execute(get,repsonse);...
相关文章推荐
- 【Leetcode】Factorial Trailing Zeroes
- Task.ConfigureAwait
- 70. Climbing Stairs
- saltstack- grains.filter_by-介绍
- saltstack- grains.filter_by-介绍
- http://a.codekk.com/detail/Android/grumoon/Volley 源码解析
- 打开netlogo model 出现failed to launch JVM
- foxmail7版本按照主题排序无法查看
- mongodb执行计划Explain分析实例(转载)
- final link failed: Nonrepresentable section on output的解决办法
- Activity与Service通信之AIDL远程服务
- Paint类measureText与getTextBounds的区别
- Spark MLlib实现的中文文本分类–Naive Bayes
- “init terminating in do_boot” Windows10 Rabbit MQ fails to start
- Mongodb报错Insufficient free space for journal files和db Assertion failure isOk() src/mongo/db/pdfile.h
- LA 4394 String painter
- 【DEBUG】OMAPL138 Connect to PRSC failed
- 1236 - Pairs Forming LCM -- LightOj1236 (LCM)
- ANR traces分析 系统一直出现 waiting for ...日志
- 获取百度地图中心点以及滑动地图后中心点的PoiList详情(类似于U步打车首页,关键看思路)