Parsing X.509 Certificates with OpenSSL and C Zakir Durumeric | October 13, 2013 While OpenSSL has become one of the defacto libraries for performing SSL and TLS operations, the library is surprisingly opaque and its documentation is, at times, abysm…
Table of contents Introduction and goal Beginner WCF FAQs Step 1: Create client and server certificates Step 2: Copy the certificates in trusted people certificates Step 3: Specify the certification path and mode in the WCF service web.config file St…
使用OpenSSL生成证书 首先得安装OpenSSL软件包openssl,安装了这个软件包之后,我们可以做这些事情: o Creation of RSA, DH and DSA Key Parameters # 创建密钥 key o Creation of X.509 Certificates, CSRs and CRLs # 创建证书 o Calculation of Message Digests                # o Encryption and Decryption wi…
转载自: https://blog.csdn.net/wangtaomtk/article/details/80917081 深入浅出HTTPS工作原理 HTTP协议由于是明文传送,所以存在三大风险: 1.被窃听的风险:第三方可以截获并查看你的内容 2.被篡改的危险:第三方可以截获并修改你的内容 3.被冒充的风险:第三方可以伪装成通信方与你通信 HTTP因为存在以上三大安全风险,所以才有了HTTPS的出现. HTTPS涉及到了很多概念,比如SSL/TLS,数字证书.数字签名.加密.认证.公钥和私…
随着个人隐私越来越受重视, HTTPS也渐渐的流行起来, 甚至有许多网站都做到了全站HTTPS, 然而这种加密和信任机制也不断遭遇挑战,比如戴尔根证书携带私钥,Xboxlive证书私钥泻露, 还有前一段时间的沃通错误颁发Github根域名SSL证书事件. 因此本文从非对称加密说起, 介绍了证书的签证流程, 并且通过openssl的命令行工具对这些过程都转化为相对具体的命令, 也算是一个温故知新的简要记录吧. 前言 一般来说,常见的数字加密方式都可以分为两类,即对称加密和非对称加密. 对于对称加密…
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732940 http://ftp.debian.org/debian/pool/main/o/openssh/?C=M;O=D 現象: $ ssh 192.168.1.3OpenSSL version mismatch. Built against 1000105f, you have 10001060 jb@e3v2:~$ aptitude show opensslPackage: openss…
从本期开始,记录一些在使用 OpenSSL 过程中碰到的问题及解决办法 在 Linux 下需要生成 pkcs12 文件,立即想到 OpenSSL.键入如下命令 ~ # openssl pkcs12 -export -inkey clientkey.pem -in client.crt -out client.p12 No certificate matches private key ~ # openssl version OpenSSL Jan 奇怪,明明 clientkey.pem 和 cl…
各类证书由于存储的内容不同(如是否包含公钥/私钥是否加密存储/单一证书或多证书等).采用编码不同(DER/BASE64).标准不同(如PEM/PKCS),所以尽管X.509标准规定了证书内容规范,但证书文件还是五花八门.好在openssl对这些不同的标准都有着不错的支持,可以用来进行不同格式证书的转换. 大体来说,证书转换要作的工作有这么几种 编码转换:DER<-->BASE64 不同证书标准的转换:PKCS系列<-->PEM/CER 私钥的增/减/提取/转换 ... PEM--D…
1.下载 mod_ssl 和 apache 登入http://www.modssl.org/source/,下载 mod_ssl-2.8.31-1.3.41.targz: 2.8.31是mod_ssl版本号:1.3.41是apache版本号(mod_ssl和apache是一一对应的) apache_1.3.41.tar.gz (https://archive.apache.org/dist/httpd/) 2.下载openssl openssl-0.9.6.tar.gz  (http://www…
Different Platforms & Devices requires SSL certificates in different formatseg:- A Windows Server uses .pfx filesAn Apache Server uses .crt, .cer files NOTE: Only way to tell the difference between PEM .cer and DER .cer is to open the file in a Text…