securing and optimizing linux: redhat edition -a hands on guide prev chapter 24. software -networking/encryption next 24.6. commands -often used
500) { this.width = 500; } } " title="点击在新窗口查看原始图片" src="/a-a-b/image/2005/09/13/200509132350437_1.gif" alt="important" />: all commands listed below are assumed to be made in the /etc/ssl/ directory. 【相关文章:专线的介绍】
the commands listed below are some that we use often, but many more exist. check the man pages and documentation for more details and information. as an example, well show you how to create certificates for your apache web server and/or your own ca certifying authority to sign your certificate signing request yourself. 【扩展阅读:http://www.myfaq.com】
【扩展信息:TCP/IP基础】create a rsa private key protected with a passphrase for your apache server. [root@deep ]/ssl#openssl genrsa -des3 -out server.key 1024
generating rsa private key, 1024 bit long modulus ......................+++++ .....+++++ e is 65537 (0x10001) enter pem pass phrase: verifying password - enter pem pass phrase: please backup this server.key file and remember the pass-phrase you had to enter at a secure location.generate a certificate signing request csr with the server rsa private key. [root@deep ]/ssl# openssl req -new -key server.key -out server.csr
using configuration from /etc/ssl/openssl.cnf enter pem pass phrase: ... 下一页