码迷,mamicode.com
首页 >  
搜索关键字:x509    ( 282个结果
[转贴]使用CryptoAPI解析X509证书和P12证书
原文在 http://bbs.pediy.com/archive/index.php?t-97663.html,但是觉得这篇文章非常好,我抄下来作我笔记用 一、解析X509证书 1.从磁盘上的证书文件中读取证书数据 unsigned char* pbX509Data; // 证书数据 unsigne ...
分类:Windows程序   时间:2016-08-04 15:06:29    阅读次数:249
python 处理java生成的证书流程
python 处理java生成的证书流程,以及公钥私钥加密,加签验签,aes加解密(这里用的是M2Crypto库里面的RSA X509 EVP)java生成的jks证书python不能直接使用需要转换成pem格式可用以下命令(需要先安装keytool(网上很多例子)) keytool -import ...
分类:编程语言   时间:2016-08-04 14:42:21    阅读次数:243
iOS 推送证书生成pem
cert: openssl x509 -in aps_development\ \(8\).cer -inform der -out pushDeveCerTopem.pem key: openssl pkcs12 -nocerts -out pushDeveP12Topem.pem -in Dev ...
分类:移动开发   时间:2016-07-22 10:07:43    阅读次数:226
Apache OpenSSL生成证书使用
最近在学习SSL协议,这次是基于Apache服务器自带的openssl来实现的 TLS:传输层安全协议 SSL:安全套接字层 KEY:私钥 CSR:证书签名请求,即公钥,生成证书时需要将此提交给证书机构,生成 X509 数字证书前,一般先由用户提交证书申请文件,然后由 CA 来签发证书 CRT:即证书,一般服务器证书server.crt和客户端证书client.crt都需要通过CA证书c...
分类:Web程序   时间:2016-07-11 17:21:50    阅读次数:726
android OTA升级包制作
0.签名 java -Xmx2048m -jar out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/test ...
分类:移动开发   时间:2016-07-08 10:12:49    阅读次数:303
nginx 使用ssl的方法代理tomcat
一.配置tomcat生成私钥opensslgenrsa-outtomcatkey.pem2.使用私钥自签证书opensslreq-new-x509-keytomcatkey.pem-outtomcatca.pem-days10953.配置tomcat的https连接器,修改server.xml文件,这里是配置的apr模式<Connectorport="8443"SSLEnabled="true"protocol="org.apache..
分类:其他好文   时间:2016-06-17 19:45:29    阅读次数:385
HTTPS双向认证
生成证书 openssl genrsa -des3 -out server.key 2048 openssl req -new -x509 -key server.key -out ca.crt -days 3650openssl pkcs12 -export -out server.p12 -in ...
分类:Web程序   时间:2016-05-31 22:11:31    阅读次数:199
openssl生成自签名证书
1、生成x509格式的CA自签名证书 openssl req -new -x509 -keyout ca.key -out ca.crt 2、生成服务端的私钥(key文件)及申请证书文件csr文件 openssl genrsa -des3 -out server.key 1024 openssl r ...
分类:其他好文   时间:2016-05-24 22:12:52    阅读次数:352
密码学基础知识整理
最近在研究密码学加密,签名方面的东西。经过几天的学习对一些基础知识进行一下整理 PKI:PKI是Public Key Infrastructure的首字母缩写,翻译过来就是公钥基础设施,在X509标准中PKI为支持共有密钥管理并且支持认证、加密、完整性、可追究性服务的基础设施。 CA:CA是 Cer ...
分类:其他好文   时间:2016-05-13 14:26:24    阅读次数:133
MAC系统用RSA 对数据进行加密解密
创建密钥对在终端中一次输入下面的脚本openssl genrsa -out private_key.pem 1024openssl req -new -key private_key.pem -out rsaCertReq.csropenssl x509 -req -days 3650 -in rsaCertReq.csr -signkey private_key.pem -out rsaCert....
分类:系统相关   时间:2016-05-13 03:45:43    阅读次数:183
282条   上一页 1 ... 17 18 19 20 21 ... 29 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!