# ./configure
--with-apache=/apache_1.3.12 --with-ssl=/openssl-0.9.5
--prefix=/apache_1.3.12
# cd apache_1.3.12
# make
# make certificate
# make install
在make certificate時會有很多的選項,主要的是選擇加密算法,包括RSA(它是由R. Rivest、A. Shamir和L. Adleman三位教授于1977年提出的公開密鑰密碼系統,它的取名就是來自于這三位發明者的姓的第一個字母)和DSA(Digital Signature Algorithm),這時選擇RSA即可,接下來會有包括國家名,單位名,認證有效期等等需要輸入的信息。這些步驟完成之后,會產生一個server.crt和server.key文件,注意server.key文件一定要保密,接下來就是輸入連接用戶名和口令。
以上工作全部結束后,會生成三個服務器認證文件,他們分別是:
/apache*/conf/ssl.key/server.key
/apache*/conf/ssl.crt/server.crt
/apache*/conf/ssl.csr/server.csr
# cd /mod-ssl*
# ./configure
--with-apache=/apache_1.3.12
--with-crt =/apache_1.3.12/conf/ssl.crt/server.crt
--with-key=/apache_1.3.12/conf/ssl.key/server.key
# cd /apache*
# SSL-BASE=/openssl*
./configure
--enable-module=ssl
--prefix=/apache_1.3.12
# make
# make certificate
文章來源于領測軟件測試網 http://www.kjueaiud.com/