Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux°²×°apacheÖ§³Öhttps£¨ssl£©

Èí¼þ»·¾³
debian 5.0
Apache Httpd 2.0.63 (http://httpd.apache.org
)
OpenSSL 0.9.81 (http://www.openssl.org/source
)
SSL-Tools (http://www.openssl.org/contrib/ssl.ca-0.1.tar.gz
)
°²×°²½Öè(ËùÓвÙ×÷ʹÓÃrootÓû§½øÐÐ)£º
1. OpenSSL
#tar zxvf openssl-0.9.81.tar.gz
#cd openssl-0.9.81
#./config
#make
#make install
´Ë¾Ù½«°²×°×îеÄOpenSSLµ½/usr/local/sslĿ¼ÖУ¬ÎÞÐèÀí»áϵͳÖÐÒÑÓа汾µÄOpenSSL£¬Ò²²»ÒªÈ¥Ð¶ÔØËü£¬·ñÔò»áµ¼ÖºܶàµÄÓ¦ÓóÌÐòÎÞ·¨Õý³£Ö´ÐУ¬ÀýÈçX´°¿ÚÎÞ·¨½øÈëµÈ´íÎó¡£
2. Apache Httpd
#tar zxvf httpd-2.0.63.tar.gz
#cd httpd-2.0.63
#./configure --prefix=/usr/local/apache/httpd --enable-ssl=static --with-ssl=/usr/local/ssl
#make
#make install
´Ë²½ÖèÔÚ/apache/httpdĿ¼Öа²×°httpd·þÎñ(ͨ¹ý²ÎÊý--prefixÖ¸¶¨)£¬Í¬Ê±Ê¹ÓÃ--with-sslÖ¸¶¨¸Õ²ÅËù°²×°OpenSSLµÄ·¾¶£¬ÓÃÓÚ½«mod_ssl¾²Ì¬µÄ±àÒëµ½httpd·þÎñÖС£
3.ÖÆ×÷Ö¤Êé
ÎÒÃDZØÐëÊÖ¹¤À´Éú³ÉSSLÓõ½µÄÖ¤Ê飬¶ÔÖ¤Êé²»ÊìϤµÄÈË£¬ÓÐÒ»¸ö¹¤¾ß¿ÉÒÔʹÓãºhttp://www.openssl.org/contrib/ssl.ca-0.1.tar.gz
 ¡£ÏÂÃæÊÇÈçºÎͨ¹ýÕâ¸ö¹¤¾ßÀ´Éú³ÉÖ¤ÊéµÄ¹ý³Ì£º
#cp ssl.ca-0.1.tar.gz /usr/local/apache/httpd/conf
#cd /usr/local/apache/conf
#tar zxvf ssl.ca-0.1.tar.gz
#cd ssl.ca-0.1
#./new-root-ca.sh (Éú³É¸ùÖ¤Êé)
No Root CA key round. Generating one
Generating RSA private key, 1024 bit long modulus
...........................++++++
....++++++
e is 65537 (0x10001)
Enter pass phrase for ca.key: (ÊäÈëÒ»¸öÃÜÂë)
Verifying - Enter pass phrase for ca.key: (ÔÙÊäÈëÒ»´ÎÃÜÂë)
......
Self-sign the root CA... (Ç©Êð¸ùÖ¤Êé)
Enter pass phrase for ca.key: (ÊäÈë¸Õ¸ÕÉèÖõÄÃÜÂë)
........
........ (ÏÂÃ濪ʼǩÊð)
Country Name (2 letter code) [MY]:CN
State or Province Name (full name) [Perak]:GanSu//ËæÄãϲ»¶
Locality Name (eg, city) [Sitiawan]:LanZhou//ËæÄãϲ»¶
Organization Name (eg, company) [My Directory Sdn Bhd]:lzu//ËæÄãϲ»¶
Organizational Unit Name (eg, section) [Certification Services Division]:lzu//ËæÄãϲ»¶
Common Name (eg, MD Root CA) []:dslab//ËæÄãϲ»¶
Email Address []:sunyanmeng@gmail.com//ËæÄãϲ»¶
ÕâÑù¾ÍÉú³ÉÁËca.keyºÍca.crtÁ½¸öÎÄ


Ïà¹ØÎĵµ£º

Linux USB "On The Go" (OTG) on OMAP H2

The new USB "On-The-Go" (OTG) capabilities are not yet widely
understood, or even generally available. The most visible feature of
OTG is that it defines the behavior of intelligent "Dual-Role" USB
devices, such as cameras or wireless handsets, which act either as USB
host or ......

²»¿É²»ÖªµÄ Linux Ê®ÏîÖØ´ó·¢Õ¹


Çì×£ Linux ³É¹¦ 10 Äê
Linux®¼¼Êõ¡¢¿ª·¢Ä£ÐͺÍÉçÇø¶¼¶Ô IT Òµ²úÉúÁËÖØÒªµÄÓ°Ï죬ÎÒÃÇÄÜ×öµÄ¾ÍÊÇÕ¾µ½Ò»±ß¿´¿´ÕâЩ£¬ºÜ¸ßÐËÓë
developerWorks Ò»Æð¶È¹ýÁ˵ÚÒ»¸ö 10 Äê¡£Linux ÍŶÓÒѾ­½«ÕâЩ¶Ô Linux ²úÉúÖØ´óÓ°ÏìµÄÄÚÈÝÕûÀíµ½Ò»Æð¡£
¹ýÈ¥ 10 ÄêÀLinux ·¢ÉúÁËÌ«¶àµÄÊÂÇ飬ºÜÄÑÍêÕûµØÁгö¸Ã²Ù×÷ϵͳµ ......

LinuxÄں˳£ÓÃÊý¾Ý½á¹¹ºÍ²Ù×÷

1. Ç°ÑÔ
 
±¾ÎĽéÉÜlinuxÄÚºËÖÐһЩ³£ÓõÄÊý¾Ý½á¹¹ºÍ²Ù×÷¡£
 
2. Ë«ÏòÁ´±í(list)
 
linuxÄÚºËÖеÄË«ÏòÁ´±íͨ¹ý½á¹¹ struct list_headÀ´½«¸÷¸ö½ÚµãÁ¬½ÓÆðÀ´£¬´Ë½á¹¹»á×÷ΪÁ´±íÔªËؽṹÖеÄÒ»¸ö²ÎÊý£º
struct list_head {
 struct list_head *next, *prev;
};
 
Á´±íÍ·µÄ³õʼ»¯£¬×¢Ò⣬ ......

²»¿É²»ÖªµÄ Linux Ê®ÏîÖØ´ó·¢Õ¹

Linux®¼¼Êõ¡¢¿ª·¢Ä£ÐͺÍÉçÇø¶¼¶Ô IT Òµ²úÉúÁËÖØÒªµÄÓ°Ï죬ÎÒÃÇÄÜ×öµÄ¾ÍÊÇÕ¾µ½Ò»±ß¿´¿´ÕâЩ£¬ºÜ¸ßÐËÓë developerWorks Ò»Æð¶È¹ýÁ˵ÚÒ»¸ö 10 Äê¡£Linux ÍŶÓÒѾ­½«ÕâЩ¶Ô Linux ²úÉúÖØ´óÓ°ÏìµÄÄÚÈÝÕûÀíµ½Ò»Æð¡£
¹ýÈ¥ 10 ÄêÀLinux ·¢ÉúÁËÌ«¶àµÄÊÂÇ飬ºÜÄÑÍêÕûµØÁгö¸Ã²Ù×÷ϵͳµÄÖØҪʼþºÍ¼¼Êõ¸Ä½ø¡£¾¡¹ÜÈç´Ë£¬ÎªÁËÇì× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ