Android Client connecting to the Server over SSL

I am trying to create an SSL connection from android client to the server over SSL. In the very beginning I was always getting no cipher suites in common on the server when connection was attempted. After some investigation I realized that Android uses Bouncy Castle SSL implementation and the cipher suites there are different from those SUN provides. So I've added Bouncy Castle provider to the server. The original problem went away, but I now get Exception in thread "main" NO SERVER CERTIFICATE FOUND I am not sure why I get this. I have generated the certificate. Granted I am using JKS to store it, but why would it matter? It's just a format of storage, the certificate should be exactly the same. If anyone has done non HTTP client server programming on Android using SSL I would really appreciate any pointers on what I need to do.

以上就是Android Client connecting to the Server over SSL的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准