测试环境:CentOS 6.4 X86_64位 VMWare虚拟机 1G RAM (物理主机CPU i7-3770 3.4GHz)测试代码(使用openssl的hash库):#include #include #include #include #include #include using nam...
分类:
其他好文 时间:
2014-08-28 12:55:09
阅读次数:
320
前面写的Mina的示例,都是可以通过telnet登录的,并且可以相互交互。现在采用ssl加密的方式,对建立连接时,进行加密连接。这样,双方只有统一的加密,然后才可以连接。密钥的生成之前有说过,里面有引用站内某个程序员的博文,这里用的代码也是出自他手。package com.example.mina....
分类:
其他好文 时间:
2014-08-28 11:19:29
阅读次数:
231
网上很多的Android在IDE eclipse的开发环境教程,ADT的就安装肯定也在里面啦 ADT的安装都是一个在线安装地址: https://dl-ssl.google.com/android/eclipse/ 但是发现是这种在线安装方法不好,麻烦,时间长,所以都去找离线安装包啦,根据关键词,你...
分类:
移动开发 时间:
2014-08-28 11:06:09
阅读次数:
344
Win7CMD大全compmgmt.msc---计算机管理conf—-启动netmeetingcharmap–-启动字符映射表calc—-启动计算器chkdsk.exe–-Chkdsk磁盘检查cmd.exe–-CMD命令提示符certmgr.msc–证书管理实用程序cliconfg–SQLSERVE...
在安装时,一定要使用Centos6.4光盘为yum源,否则可能使用了版本有问题的openssl1、首先要先安装GCC GCC-C++ Openssl等依赖模块: yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl...
分类:
数据库 时间:
2014-08-27 18:10:28
阅读次数:
338
教程:http://www.cnblogs.com/getherBlog/p/3930317.html其中用到几个命令:keytool -genkeypair -alias certificatekey -keyalg RSA -validity 7 -keystore keystore.jksk....
分类:
编程语言 时间:
2014-08-27 10:41:37
阅读次数:
199
安装qmail的补丁了#cd/var/src/netqmail-1.05/netqmail-1.05#bunzip2-c
../../tar/qmail-toaster-0.8.patch.bz2|patch-p0#makeclean#make出现如下错误:./compile
tls.ctls.c:12:error:conflicting
typesfor??strerror??/usr/include/string.h:256:error:previous
declarationof..
分类:
其他好文 时间:
2014-08-27 02:47:27
阅读次数:
214
Https(Hyper Text Transfer Protocol over Secure Socket Layer),是以安全为目标的HTTP通道,简单讲是HTTP的安全版。即HTTP下加入SSL层,HTTPS的安全基础是SSL,因此加密的详细内容就需要SSL。 它是一个URI scheme(抽...
分类:
其他好文 时间:
2014-08-26 22:42:56
阅读次数:
259
http://zengrong.net/post/2092.htm解决Github访问超慢问题Github is so slowly.这段时间访问 github 都非常慢,google了一下发现是github某个CDN被伟大的墙屏蔽所致。出问题的应该是这个CDN: github.global.ssl...
分类:
其他好文 时间:
2014-08-26 21:07:56
阅读次数:
529
1.单向SSL一.在Tomcate的service.xml文件中放开SSL配置 -->二.使用Keytool工具生成服务端证书(这里指的jks库)keytool -genkeypair -alias password -keysize 1024 -sigalg SHA1withRSA -valid....
分类:
其他好文 时间:
2014-08-26 13:04:16
阅读次数:
246