Step 1. Create key 这个命令会生成一个1024/2048位的密钥,包含私钥和公钥。 openssl genrsa -out prvtkey.pem 1024/2038 (with out password protected) openssl genrsa -des3 -out p ...
分类:
其他好文 时间:
2016-07-07 19:55:14
阅读次数:
217
一般情况,生成证书会用到java的keytool生成自签名证书,用在tomcat、applet等场合,生成的证书都是二进制文件,不能直接在nginx、或需要pem的场合下使用,因此需要对其进行各种常用转换,下面是一个典型的使用场景。...
分类:
编程语言 时间:
2016-07-05 12:26:02
阅读次数:
1023
1:下载 ca-bundle.crt和cacert.pem(见导航栏——文件) 将这两个文件放在php目录下 2:php.ini中添加上述两个文件的路径 curl.cainfo=C:/xampp/php/ca-bundle.crtopenssl.cafile=C:/xampp/php/ca-bund ...
亚马逊服务器搭建pptp方法 1、 打开亚马逊云的控制台,新建一个ubuntu的免费EC2实例。新建过程中,注意在选择安全组时,添加一个“自定义TCP规则”,端口开启1723,并允许任何位置访问。 2、 创建EC2过程中,下载一个xxxx.pem的密钥文件。打开终端,通过命令 chmod 400 x ...
分类:
其他好文 时间:
2016-06-21 10:40:48
阅读次数:
145
一.配置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
-bash-4.1$ pwd/opt/PostgresPlus/9.3AS/client-v4/scripts -bash-4.1$ lsclient launchPEMClient.sh -bash-4.1$ ./launchPEMClient.sh click Connect && enter ...
分类:
其他好文 时间:
2016-06-15 14:26:29
阅读次数:
139
using Dscf.Bpl.InformationAuditBpl; using Dscf.Bpl.ProductBpl; using Dscf.Global.CommonAduit; using Dscf.Global.Model; using System; using System.Coll ...
分类:
Windows程序 时间:
2016-06-07 19:23:20
阅读次数:
2043
若执行ssh-add /path/to/xxx.pem是出现这个错误:Could not open a connection to your authentication agent,则先执行如下命令即可: ssh-agent bash 更多关于ssh-agent的细节,可以用 man ssh-ag ...
分类:
其他好文 时间:
2016-05-31 12:10:12
阅读次数:
116