摘要:
This site Web Certificate Formats - X.509, DER and PEM Part: 1 2 3 Certificate standard and file encodings seem to be confusing. I wrote down some notes about: What is X.509 Certificate Standard?PEM (Privacy Enhanced Mail) EncodingDER (Distinguished Encoding Rules) Encoding"keytool" Exp... 阅读全文
posted @ 2011-12-31 19:53
功夫 熊猫
阅读(1907)
评论(0)
推荐(0)
摘要:
python 编写server的步骤:1、第一步是创建socket对象。调用socket构造函数。如:socket = socket.socket( family, type )family参数代表地址家族,可为AF_INET或AF_UNIX。AF_INET家族包括Internet地址,AF_UNIX家族用于同一台机器上的进程间通信。type参数代表套接字类型,可为SOCK_STREAM(流套接字)和SOCK_DGRAM(数据报套接字)。2、第二步是将socket绑定到指定地址。这是通过socket对象的bind方法来实现的:socket.bind( address )由AF_INET所创建的 阅读全文
posted @ 2011-12-31 15:48
功夫 熊猫
阅读(552)
评论(0)
推荐(0)
摘要:
How do I obtain a Digital Certificate from my Certificate Authority (CA)? This article will describe the 2 most popular methods for obtaining a Digital Certificate from your online Certificate Authority (or CA). I will not elaborate on the reasons for doing so, and if you feel uncomfortable about th 阅读全文
posted @ 2011-12-31 14:27
功夫 熊猫
阅读(349)
评论(0)
推荐(0)
摘要:
Using OpenSSL Utilities An openssl command line takes the following form: openssl utility arguments For example: openssl x509 -in OrbixCA -text Each command is individually described in this appendix. To get a list of the arguments associated with a particular command, use the -help option as follow 阅读全文
posted @ 2011-12-31 14:04
功夫 熊猫
阅读(518)
评论(0)
推荐(0)
摘要:
In previous tutorials, I learned how to view an HTTPS server certificate and its certificate path. Now I want to learn how to save a server certificate to a certificate file. 1. Run Firefox 3 and go to https://login.yahoo.com. 2. Click the lock icon at bottom right corner of the browser window. The 阅读全文
posted @ 2011-12-31 11:33
功夫 熊猫
阅读(696)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/huangcong/archis.strip() .lstrip() .rstrip(',') 去空格及特殊符号复制字符串Python1#strcpy(sStr1,sStr2)2sStr1 = 'strcpy'3sStr2 = sStr14sStr1 = 'strcpy2'5print sStr2连接字符串Python1#strcat(sStr1,sStr2)2sStr1 = 'strcat'3sStr2 = 'append'4sStr1 += sStr25print 阅读全文
posted @ 2011-12-31 11:33
功夫 熊猫
阅读(465)
评论(0)
推荐(0)
浙公网安备 33010602011771号