delphi實現SSL訪問

delphi實現SSL訪問

SecureBlackbox

Delphi / C++Builder / Kylix components for SSL and TLS support

With SSLBlackbox/VCL you can add support for secure connections using SSL2, SSL3 and TLS1 protocols to your Delphi or Kylix application. SSLBlackbox/VCL is pure Delphi code without dependency from third-party libraries (besides standard Win32/Linux API and VCL/CLX).

SecureBlackbox does not use CryptoAPI, OpenSSL or other third-party encryption library.

Welcome to the OpenSSL Project

OpenSSL is based on the excellent SSLeay library developed by Eric A. Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an Apache-style licence, which basically means that you are free to get and use it for commercial and non-commercial purposes subject to some simple license conditions.

Delphi import unit for OpenSSL DLL

Delphi can use OpenSSL library invoking DLL.
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. 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值