C# 服务器和 Android 客户端应用程序之间的 SSL 通信 [英] SSL communication between a C# Server and an Android Client App

查看:44
本文介绍了C# 服务器和 Android 客户端应用程序之间的 SSL 通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用从 MSDN 并且我使用 makecert.exe 创建了一个自签名证书.我有这个可以相互交流,它似乎工作正常.同样,我想构建一个将与 C# 服务器通信的 android tcp 客户端.我需要为客户端或类似的东西创建证书吗?如果我这样做,我如何将它导入到 android 中?

I'm using a C# server and a C# tcp client example I extracted from the MSDN and I have created a self signed certificate using makecert.exe. I have got this to communicate with one another and it seems to be working fine. Similarly I want to build an android tcp client that will communicate with the C# server. Do I need to create a certificates for the client or anything of that sort? If I do how do I import it in to android?

推荐答案

我将我创建的证书导入到 Java 密钥库中,并在对我有用的 android 客户端上使用它.以下链接将使任何人都可以深入了解创建我认为非常有用的证书.点击

I imported the certificates that I created in to a java key store and used it on the android client side which worked for me. Following link will give anyone an insight in to creating the certificates which I found very useful. Click

这篇关于C# 服务器和 Android 客户端应用程序之间的 SSL 通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆