1. 安装openssl 解压php的源码包 tar zxvf php-5.3.8.tar.gz? cd soft/php-5.3.8/ext/openssl ?mv config0.m4 config.m4 ? ? ? ? ? ? ? ? ? ? ? ? ? ?否则报错:找不到config.m4 /opt/local/php-...
分类:
Web程序 时间:
2015-08-17 01:18:01
阅读次数:
282
压缩tar -czvf /path/to/file.tar.gz file解压tar -xzvf /path/to/file.tar.gz /path/to加密压缩tar -czvf - file | openssl des3 -salt -k password -out /path/to/file.tar.gz解密解压openssl des3 -d -k password -salt -in /p...
分类:
其他好文 时间:
2015-08-15 23:04:43
阅读次数:
377
Mediawiki update to 1.24#yum update#service iptables stop#chkconfig iptables off#disable selinux#yum install wget gcc gcc-c++ openssl openssl-devel au...
分类:
其他好文 时间:
2015-08-14 20:53:00
阅读次数:
158
一、OpenSSL简单介绍OpenSSL是一个强大的安全套接字层密码库,囊括主要的密码算法、常用的密钥和证书封装管理功能及SSL协议,并提供丰富的应用程序供测试或其它目的使用。SSL是SecureSocketsLayer(安全套接层协议)的缩写,可以在Internet上提供秘密性传输。SSL能使用户/服务..
分类:
系统相关 时间:
2015-08-14 01:17:33
阅读次数:
681
生成CAopenssl req -nodes -x509 -sha256 -newkey rsa:4096 -keyout "CA.ABC.LOCAL.key" -out "CA.ABC.LOCAL.crt" -days 365 -subj "/C=CN/ST=ZJ/L=HZ/O=ABC/OU=IT...
分类:
其他好文 时间:
2015-08-13 21:57:49
阅读次数:
197
跟NGINX一样,没有深入研究配置,因为暂时用不到。。:)下载2.10,基于NGINX1.6.2的。我的配置参数如下:./configure --with-openssl=/root/tengine_pkg/openssl-1.0.2d --with-zlib=/root/tengine_pkg/z...
分类:
其他好文 时间:
2015-08-13 11:35:25
阅读次数:
126
取消私钥中的密码:1. 使用openssl命令去掉私钥的密码openssl rsa-in~/.ssh/id_rsa-out~/.ssh/id_rsa_new2. 备份旧私钥mv~/.ssh/id_rsa~/.ssh/id_rsa.backup3. 使用新私钥mv~/.ssh/id_rsa_new~/...
分类:
其他好文 时间:
2015-08-12 12:57:25
阅读次数:
155
一、OpenSSL工具管理证书OpenSSL 是一个强大的安全套接字层密码库,包括了加密算法,常用密钥和证书管理,SSL协议等功能。OpenSSL提供的命令非常多,这里只简单列出OpenSSL生成密钥和证书的一些操作(Window需要以管理员身份运行cmd):生成PEM格式的密钥openssl ge...
分类:
其他好文 时间:
2015-08-11 23:16:22
阅读次数:
150
修改ssl版本号:ssh-Vldd/usr/bin/openssl|greplibcrypto.soll/usr/local/ssl/lib/libcrypto.so.1.0.0ll/usr/local/ssl/lib/cp/usr/local/ssl/lib/libcrypto.so.1.0.0/usr/local/ssl/lib/libcrypto.so.1.0.0.bakll/usr/local/ssl/lib/sed-i"s#0.9.8e#2.0.2G#g"/usr/local/ssl/l..
分类:
其他好文 时间:
2015-08-11 19:21:11
阅读次数:
602
一、问题描述在上一篇手动升级sshd服务后发现了三个后遗症:selinux开启的状态下,重启机器sshd不启动(原因:库文件“libcrypto.so.1.0.0”的selinux标记不正确,导致sshd无法调用访问该文件,使用setroubleshoot工具找到原因)hosts.allow,hosts.deny对sshd不起作用(原因:..
分类:
其他好文 时间:
2015-08-11 19:06:18
阅读次数:
204