请问,我现在有一个服务器端和客户端,如何使用ssl进行通信呢?
我知道indy9中有IdServerIOHandlerSSL和IdSSLIOHandler两个控件可以使用,有以下几个问题不太清楚:
1 这两个控件的证书文件是如何产生的,用的时候有什么关系呢?
2 流程处理
如果有例程最好,谢谢了.
我知道indy9中有IdServerIOHandlerSSL和IdSSLIOHandler两个控件可以使用,有以下几个问题不太清楚:
1 这两个控件的证书文件是如何产生的,用的时候有什么关系呢?
2 流程处理
如果有例程最好,谢谢了.
OpenSSL toolkit is divided in two modules: libssl, implementing SSLv2/v3 and TLS for network communications and libcrypto, that implements cryptography functions.
To use SLv2/v3 and TLS network function with Delphi, you can use components from Indy project.
CSITA has developed a unit to import some function about X.509 certificate.IndySSL – using certificate authentication This document explains how to use certificate authentication when connecting to a site that requires certificate authentication. We are using Indy components on the client side and some server (MS IIS, Apache, ...) on the server side. In the example we will be using http protocol, cause it is very easy to set such an environment.First of all we must get certificates and private keys for the client. Let's suppose that we got some private key/certificate pair from some Certificate Authority (like Verisign) and we have this listed in MS IE in Personal Certificates Store.