ÀÎÁõ¼­ ¹ß±ÞÁ¶È¸
   ¹®¼­Ã³¸® »óÅÂ
   ÀÎÁõ¼­ »óÅÂ
   ¼¼±Ý °è»ê¼­
   º¸¾È¾Á ¼³Ä¡

FAQ
   ÀÎÁõ ¼­ºñ½º
   SSL ÀÎÁõ¼­
   ÄÚµå»çÀÎ ÀÎÁõ¼­
   ¹ß±Þ ¹× °»½Å

°í°´Áö¿ø
   Áö½Ä±â¹Ý Q&A (KB)
   °í°´ ¹®ÀǼ¾ÅÍ
   ¿ø°Ý¼³Ä¡ ÀÇ·Ú



¼¼°è ½ÃÀåÁ¡À¯À² 1À§
Home > °í°´ ¼¾ÅÍ    
SELECT * FROM kb WHERE category='FAQ > SSL' AND (cvendor='Common' OR cvendor='thawte')

  SSL ÀÎÁõ¼­¸¦ µµ¸ÞÀÎ º°·Î ½ÅÃ»ÇØ¾ß Çϳª¿ä?
SSLÀÎÁõ¼­´Â SSL¼­¹ö°¡ µ¹¾Æ°¡´Â À¥»çÀÌÆ® ÁÖ¼Òº°·Î ¹Þ´Â °ÍÀÌ ¿øÄ¢ÀÔ´Ï´Ù. ¿¹¸¦µé¾î, www.a.com, secure.a.com µÎ »çÀÌÆ®¿¡ SSL ¼­¹ö¸¦ ¼³Ä¡ÇÏ¸é µÎ°³ÀÇ ÀÎÁõ¼­¸¦ ½ÅÃ»ÇØ¾ß ÇÕ´Ï´Ù.

±×·¯³ª, ÀÎÁõ¼­ÀÇ ½ÅûÀº ¿©·¯ºÐ ȸ»çÀÇ SSL¼­ºñ½º Á¤Ã¥¿¡ µû¶ó ´Þ¶óÁý´Ï´Ù. ½ÇÁ¦ SSLÅë½ÅÀÌ ÇÊ¿äÇÑ ºÎºÐÀº ȸ¿ø°¡ÀÔ, ·Î±×ÀÎ, Á¤º¸¼öÁ¤, ÀüÀÚ»ó°Å·¡, ±ÝÀ¶°Å·¡ °³ÀÎÁ¤º¸ ¿­¶÷ µîÀÇ Áß¿äÇÑ Á¤º¸°¡ ³ëÃâµÇ´Â ºÎºÐÀ̶ó°í ÇÒ ¼ö ÀÖ½À´Ï´Ù.

ÀϹÝÀûÀÎ À¥»çÀÌÆ® Àüü¿¡ SSL ¾ÏÈ£Åë½ÅÀ» ÇÏ´Ùº¸¸é, ¾ÏȣȭµÈ µ¥ÀÌÅÍÀÇ ¾ÏÈ£ º¹È£È­ ½Ã¿¡ ¸¹Àº ¼­¹öºÎÇϸ¦ ÁÖ°Ô µË´Ï´Ù. µû¶ó¼­, ÀϹÝÀûÀ¸·Î ƯÁ¤ ¼­¹ö¿¡ À§ÀÇ Áß¿äÇÑ µ¥ÀÌÅÍ Åë½Å ºÎºÐ¿¡ ´ëÇÑ À¥¼­¹ö¿¡¸¸ SSLÅë½Å(https)À» ¼­ºñ½ºÇϰí, ±× ÀÌÈÄ´Â ÀÏ¹Ý À¥Åë½Å(http)À» Çϵµ·Ï ÇÏ´Â °ÍÀÌ °ü·ÊÀûÀÔ´Ï´Ù.

[À§·Î]

  ¿©·¯ ¼­¹ö¸¦ ¿î¿µÁßÀÎ °æ¿ì SSLÀ» ¾î¶»°Ô Çմϱî?
ÀϹÝÀûÀ¸·Î À¥»çÀÌÆ® Æ®·¡ÇÈÀÌ ¸¹¾ÆÁ® ·Îµå¹ë·±½ÌÀ» À§ÇØ ¼­¹ö¸¦ ¸¹ÀÌ ¼³Ä¡ÇÏ¿© ¼­ºñ½º Çϱ⵵ ÇÕ´Ï´Ù. À̶§, www1,www2¿Í °°ÀÌ ¹°¸®ÀûÀÎ ¼­¹ö ºÐ»ê¹æ¹ý°ú ¿©·¯ ¼­¹ö¿¡ ¼ÒÇÁÆ®¿þ¾îÀûÀ¸·Î ºÐ»êÇØÁÖ´Â ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.

°¡Àå ÁÁÀº ¹æ¹ýÀº º¸¾ÈÇÒ Åë½Å ºÎºÐ¿¡ ´ëÇÑ secure¼­¹ö¸¦ µÎ°í, ±× ¼­¹ö¸¦ ÀÌ¿ëÇÏ´Â ¹æ¹ýÀÔ ´Ï´Ù. ±×·¯³ª ±×°ÍÀÌ ¿©ÀÇÄ¡ ¾ÊÀº °æ¿ì ÇϳªÀÇ ÀÎÁõ¼­¸¦ ¸ðµç ¼­¹ö¿¡ µÎ°í SSL Åë½ÅÀ» ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±×·²°æ¿ì, ¸ðµç ¼­¹ö°¡ ÀÚ½ÅÀÌ ½ÅûÇÑ ÀÎÁõ¼­ÀÇ »çÀÌÆ®¸¦ ¼­ºñ½ºÇÏ´Â »çÀÌÆ®·Î ÀνĵǾî¾ß ÇÕ´Ï´Ù.

±×·¯³ª, www1,www2¿Í °°Àº ·Îµå¹ë·±½Ì ¹æ¹ý¿¡´Â À̰°Àº ¹æ¹ýÀ» »ç¿ëÇÒ ¼ö°¡ ¾ø½À´Ï´Ù.

[À§·Î]

  À¥¼­¹öÀÎÁõ¼­¿Í ¼öÆÛ¼­Æ®ÀÇ Â÷ÀÌ´Â ¹«¾úÀԴϱî?
µÎ Á¦Ç°ÀÇ ÁÖµÈ Â÷ÀÌÁ¡Àº »ç¿ë °¡´ÉÇÑ SSL ¼¼¼ÇÀÇ °­µµÀÔ´Ï´Ù. ¼öÆÛ¼­Æ® ÀÎÁõ¼­´Â Àü¼¼°èÀÇ ±â¾÷µéÀÌ ºê¶ó¿ìÀúÀÇ ¾Ïȣȭ ºñÆ®¼öÁØ¿¡ »ó°ü¾øÀÌ ±âº» 128ºñÆ® SSL ¾Ïȣȭ¸¦ »ç¿ëÇØ °í°´°ú Åë½ÅÇÒ ¼ö ÀÖ½À´Ï´Ù.

- Microsoft Internet Explorer 5.01 ÀÌ»ó
(ƯÁ¤ ÆÐÄ¡°¡ ¼³Ä¡µÈ Microsoft Internet Explorer 3.02 ÀÌ»ó)
Natscape Enterprise 4.7 ÀÌ»ó

ÀÌ¿¡¹ÝÇØ À¥¼­¹ö ÀÎÁõ¼­¸¦ »ç¿ëÇÏ¸é º¸¾È ¾÷±×·¹ÀÌµå µÈ ºê¶ó¿ìÀú¿Í À¥¼­¹ö¸¦ »ç¿ëÇÒ °æ¿ì¿¡¸¸ 128bit ¾Ïȣȭ Åë½ÅÀÌ °¡´ÉÇÏ°í ±âŸÀÇ °æ¿ì¿¡´Â ºê¶ó¿ìÀú°¡ Áö¿øÇÏ´Â 40bit À̳ª 56bit ¾Ïȣȭ Åë½Å¸¸À» ÇÒ ¼ö ÀÖ½À´Ï´Ù.

[À§·Î]

  ±Û·Î¹úID¿Í ¼öÆÛ¼­Æ®ÀÇ ÀÎÁõ ÀýÂ÷°¡ ´Ù¸¥ ÀÎÁõ¼­¿Í Â÷À̰¡ ÀÖ³ª¿ä?
±×·¸½À´Ï´Ù. ¹Ì±¹ Á¤ºÎ´Â ¹Ì±¹°ú ´Ù¸¥ ³ª¶ó°£ÀÇ Åë½Å ¹× ¹Ì±¹ ÀÌ¿ÜÀÇ ±¹°¡°£ÀÇ Åë½Å¿¡¼­ ÀÌ¿Í °°Àº °­·ÂÇÑ ±â¼úÀ» ±¸ÇöÇÒ ¼ö Àִ ȸ»çÀÇ ¹üÀ§¸¦ ÁöÁ¤Çϰí ÀÖ½À´Ï´Ù. µû¶ó¼­ 128ºñÆ® SGC ±â´ÉÀ» ±¸ÇöÇÏ´Â º£¸®»çÀÎÀÇ ±Û·Î¹úID¿Í ½áÆ®ÀÇ ¼öÆÛ¼­Æ®´Â ¹Ì±¹ »ó¹«¼º¿¡¼­ ¹ßÇ¥ÇÑ ±ÔÁ¤¿¡ µû¶ó ¹ß±ÞµÇ°í ÀÖ½À´Ï´Ù.

¾ÆÇÁ°¡´Ï½ºÅº(Å»¸®¹Ý ÅëÄ¡ ±¸¿ª), Äí¹Ù, À̶õ, À̶óÅ©, ¸®ºñ¾Æ, ºÏÇÑ, ¼¼¸£ºñ¾Æ, ¼ö´Ü, ½Ã¸®¾Æ µîÀÇ Å×·¯ Áö¿ø±¹À̳ª Å×·¯ Áö¿ø´Üü¿¡´Â ¹ß±ÞÀÌ µÉ ¼ö ¾ø½À´Ï´Ù.

¹Ù¼¼¸£³ª¸£ ±º¼öǰ ¸ñ·ÏÀÇ ÅëÁ¦¸¦ ¹Þ´Â ǰ¸ñÀ̳ª ¼­ºñ½ºÀÇ Á¦Á¶, ¹è±Þ¿¡ °ü°èÇÏ´Â Á¤ºÎÀÇ Á¶»ç ±â°ü, Á¤ºÎ ±â¾÷À̳ª »ç¾÷ºÎ µîÀ» Æ÷ÇÔÇÏ´Â ¿Ü±¹ÀÇ Áß¾Ó, Áö¿ª Á¤ºÎ ºÎ¼­, ¿¡ÀÌÀü½Ã, ȤÀº Á¤ºÎÀÇ ±â´ÉÀ» ¼öÇàÇÏ´Â ½Çü ¹× ±¹Á¦ÀûÀÎ Á¤ºÎ ±â°üÀ̳ª Á¶Á÷¿¡µµ ¹ß±ÞÀÌ µÉ ¼ö ¾ø½À´Ï´Ù.

[À§·Î]

  .key¿Í .crt¸¦ PKCS#12(.pfx, .p12)·Î º¯È¯ÇÒ ¼ö ÀÖ³ª¿ä?
BEGIN, END·Î ±¸¹®µÈ X509Çü½ÄÀÇ °³ÀÎŰ¿Í °ø°³Å°¸¦ PKCS#12 ¹æ½ÄÀÇ Å°Æä¾î ÆÄÀÏ·Î º¯È¯ÇϰíÀÚ ÇÑ´Ù¸é À¯´Ð½º(Unix)³ª ¸®´ª½º(Linux)¿¡ ¼³Ä¡µÈ OpenSSLÀ» ÅëÇØ ¸¸µé ¼ö ÀÖ½À´Ï´Ù.

openssl pkcs12 -export -in test.crt -inkey test.key -out test.pfx

ºñ¹Ð¹øÈ£¸¦ ³ÖÀ¸¸é test.pfx(p12)ÆÄÀÏÀÌ ¸¸µé¾îÁý´Ï´Ù.

[À§·Î]

  ¿Ö ÀÎÁõ¼­´Â 1,2³â ¹Û¿¡ ¹ß±ÞÀÌ ¾ÈµÇ³ª¿ä?
ÀÎÁõ¼­ÀÇ °æ¿ì 1,2³â¿¡ ÇÑÇÏ¿© ¹ß±ÞÇØ µå¸®°í ÀÖ½À´Ï´Ù. ÀÌ´Â ÀÎÁõ¼­ÀÇ ±â´É»ó ȸ»ç¸¦ ÀÎÁõÇϴ°ÍÀ̱⠶§¹®¿¡, ½ÇÀ缺 ¿©ºÎ¸¦ ¸Å³â È®ÀÎÇØ¾ß Çϱ⠶§¹®ÀÔ´Ï´Ù. 3³âÀÌ»óÀº ºÒ°¡´É ÇÔÀ» Á˼۽º·´°Ô »ý°¢ÇÕ´Ï´Ù. °£È¤ 3³âÀÌ»ó ¼­ºñ½º¸¦ Á¦°øÇϴ ȸ»ç°¡ ÀÖÀ¸³ª ÀÌ °æ¿ì ÀÎÁõ±â°üÀÇ ½Å·Ú¼º¿¡ Àǹ®ÀÌ µì´Ï´Ù.

[À§·Î]

  ³ªÀÎÆ÷À¯°¡ º£¸®»çÀÎ Áö»çÀΰ¡¿ä?
³ªÀÎÆ÷À¯´Â 2000³â º£¸®»çÀÎ ÀÚȸ»ç¿Í Ç÷¡Æ¼³Ñ ÆÄÆ®³Ê, 2003³â¿¡ ÀϺ» º£¸®»çÀÎ º»»ç¿Í ÆÄÆ®³Ê °è¾àÀ» ü°áÇÏ¿´½À´Ï´Ù. ¸»¾¸ ÇϽŴë·Î º£¸®»çÀÎÀÇ ±¹³» Áö»ç´Â ¾ø½À´Ï´Ù.

±×·¯³ª ÀúÈñ°¡ Thawte¿Í º£¸®»çÀΰú °è¾àÀÄ ÅëÇØ ºê·£µå¸¦ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï Çϰí ÀÖÀ¸¸ç, verisign.co.kr ¿ª½Ã º£¸®»çÀÎÀ¸·Î ºÎÅÍ ÀÎÁõ¼­¸¦ ¹ß±Þ¹Þ¾Æ »ç¿ëÇϰí ÀÖ½À´Ï´Ù.

±¹³»¿¡µµ º£¸®»çÀÎ ÀÎÁõ¼­¸¦ Á¦°øÇÏ´Â ¾÷ü°¡ Çѱ¹ÀüÀÚÀÎÁõ°ú ±× ´ëÇà ¸®¼¿·¯ÀÎ ¾Ö´Ï¼­Æ®°¡ ÀÖ½À´Ï´Ù. ÀúÈñ´Â º£¸®»çÀÎ º»»ç¿Í Á÷Á¢ °è¾àÀ» ÅëÇØ Çѱ¹ ÀüÀÚÀÎÁõ°ú °°Àº ¹æ½ÄÀ¸·Î ÀÎÁõ¼­¸¦ Á¦°øÇÕ´Ï´Ù. (º£¸®»çÀÎÀÇ ¸ðµç ÀÎÁõ¼­´Â º»»ç¿¡¼­ ÃÖÁ¾ ÀÎÁõ¼­¸¦ Á¦°øÇϱ⠶§¹®¿¡)

ÀúÈñ´Â ´ëÇุ ÇÏ´Â °ÍÀÌ ¾Æ´Ï¶ó C/S, T/S ¹Ì±¹ º»»ç¿¡ Á÷Á¢ ½ÅûÇÑ Á¦Ç° Áö¿ø ±îÁö °âÇϰí ÀÖÀ¸¸ç, ÀÏÁ¾ÀÇ ¼­ºñ½º ¼¾ÅÍ ¿ªÇÒÀ» Çϰí ÀÖ½À´Ï´Ù. °í°´²²¼­ ¾î¶² ȸ»ç¸¦ ÅëÇØ ÀÎÁõ¼­¸¦ ½ÅûÇÏ½Ãµç ±×°ÍÀº °í°´ÀÇ ÀÚÀ¯ Àǻ翡 ÇØ´ç µÇ½Ê´Ï´Ù. ´Ù¸¸, ÀúÈñ´Â
Thawte¿Í VeriSign Á¦Ç°¿¡ ´ëÇÑ ±¹³» Á÷Á¢ °ø±ÞÀ» ¸ñÇ¥·Î Çϰí ÀÖ½À´Ï´Ù.

[À§·Î]

  IIs5.0¿¡¼­ ƯÁ¤ µð·ºÅ丮ÀÇ À¥ ¼­ºñ½º¸¦ https ·Î¸¸ ¼­ºñ½ºÇÏ´Â ¹æ¹ý?
http:// Á¢¼ÓÀ» Â÷´Ü½Ã۱â


¡Ø ÀÌ ºÎºÐÀº À¥¹®¼­ Á¢¼Ó½Ã¿¡ ¿ÀÁ÷ º¸¾ÈÁ¢¼Ó¸¸À» °¡´ÉÇÏ°Ô ¼³Á¤ÇÏ´Â ºÎºÐÀÔ´Ï´Ù. ÀÌ ¼³Á¤À» ÇϽøé ÀÏ¹Ý http://·Î´Â Á¢¼ÓÀÌ ºÒ°¡´ÉÇϸç https://¿¡ ÀÇÇØ¼­¸¸ Á¢¼ÓÀÌ °¡´ÉÇÏ°Ô µË´Ï´Ù


1. ÇØ´ç À¥¹®¼­¸¦ Ŭ¸¯ÇÏ°í ¸¶¿ì½º ¿À¸¥ÂÊ ¹öưÀ» ´­·¯¼­ µî·Ï Á¤º¸¸¦ º¾´Ï´Ù.

2. \\\"ÆÄÀÏ º¸¾È\\\" ÅÇÀ» ¼±ÅÃÇϰí \\\"ÀÍ¸í ¾×¼¼½º ¹× ÀÎÁõÁ¦¾î\\\"¿¡¼­ \\\"ÆíÁý\\\"À» ´©¸¨´Ï´Ù.

3. \\\"ÀÍ¸í ¾×¼¼½º Çã¿ë\\\"°ú \\\"±âº» ÀÎÁõ\\\"¿¡ üũÇϰí \\\"È®ÀÎ\\\"À» ´©¸¨´Ï´Ù.

4. \\\"º¸¾È Åë½Å\\\"¿¡¼­ \\\"ÆíÁý\\\" ¹öưÀ» Ŭ¸¯ÇÕ´Ï´Ù.

5. \\\"ÀÌ ¸®¼Ò½º¸¦ ¾×¼¼½ºÇÒ ¶§ ¾ÈÀüä³ÎÀÌ ÇÊ¿äÇÕ´Ï´Ù\\\"¸¦ üũÇϰí \\\"Ŭ¶óÀÌ¾ðÆ® ÀÎÁõ¼­ ¹«½Ã\\\"¸¦ ¼±ÅÃÇÕ´Ï´Ù. ³ª¸ÓÁö´Â µðÆúÆ® °ªÀ» ±×´ë·Î »ç¿ëÇÕ´Ï´Ù. (°¢°¢ÀÇ °æ·Î¿¡ http://·Î ¼³Á¤µÇ¾î ÀÖ´Â °ÍÀ» ¸ðµÎ https://·Î ¹Ù²Ù¾îÁÖ¾î¾ß ÇÕ´Ï´Ù)

6. ÀÌÁ¦ ÀÌ ÆäÀÌÁö¿¡ Á¢¼ÓÇÒ ¶§´Â https://¸¦ ÅëÇØ¼­¸¸ Á¢¼ÓÀÌ °¡´ÉÇÕ´Ï´Ù.

[À§·Î]

  http -> https ¸®´ÙÀÌ·º¼Ç ½Ã۱â
http ·Î Ä¡°í µé¾î¿À´Â °æ¿ì¿¡ https ·Î µé¾î°¡µµ·Ï À¥ÇÁ·Î±×·¥¿¡¼­ Á¶Ä¡°¡ °¡´ÉÇѵ¥.. ¹æ¹ýÀº ¼­¹ö ȯ°æº¯¼ö·Î

SERVER_PORT : Á¢¼ÓÇÑ Æ÷Æ®·Î ÀÏ¹Ý http ´Â 80 , https ÀÎ °æ¿ì 443 À¸·Î ³Ñ¾î¿É´Ï´Ù.
REQUEST_URI : Á¢¼ÓÇÑ ÆäÀÌÁöÀÇ uri °ª.. /aaa/bbb.asp µî°ú °°ÀÌ.
HTTP_HOST : Á¢¼ÓÇÑ µµ¸ÞÀÎ

À§¿Í °°Àº ¼­¹ö ȯ°æº¯¼öµéÀÌ ¸¹ÀÌ ÀÖÀ¸´Ï±ñ.. ã¾Æº¸½É µÇ°Ú³×¿ä¡¦ Request.ServerVariables(¡°SERVER_PORT¡±) µîÀ¸·Î Æ÷Æ®¹øÈ£ üũ ÇϽðí.. 80 À̸é

Response.Redirect ¡°https://µµ¸ÞÀÎ/URI¡±

À¸·Î ÀÛ¼ºÇÏ½Ã¸é µË´Ï´Ù.

°¢ ÆÄÀÏÀÇ À­ºÎºÐ¿¡.. °øÅëÀ¸·Î ÀÎŬ·çµå µÇ´Â ÆÄÀÏ¿¡ ³Ö¾îµÎ½É ´õ ÁÁ±¸¿ä...

[À§·Î]

  http·ÎÀÇ Á¢¼Ó Â÷´Ü
µ¿Àϰæ·Î µ¿ÀÏÆÄÀÏ¿¡ ´ëÇØ¼­ https, http ¸ðµÎ Á¢¼ÓµÇ´Â°ÍÀÌ Á¤»óÀÌ¿À³ª
¾Æ·¡¿Í °°ÀÌ ¼³Á¤À» ÇØÁֽøé http ·ÎÀÇ Á¢¼ÓÀÌ Â÷´ÜµË´Ï´Ù.


¾Æ·¡¿Í °°ÀÌ ¼³Á¤ ÇÏ¿© ÁÖ½Ã¸é µË´Ï´Ù.

1.ÇÁ·Î±×·¥ -> °ü¸®µµ±¸ -> ÀÎÅÍ³Ý ¼­ºñ½º °ü¸®ÀÚ

2. ÇØ´ç À¥¹®¼­¸¦ Ŭ¸¯ÇÏ°í ¸¶¿ì½º ¿À¸¥ÂÊ ¹öưÀ» ´­·¯¼­ µî·Ï Á¤º¸¸¦ º¾´Ï´Ù.

3. µð·ºÅ丮 º¸¾È \\\\\\\"º¸¾È Åë½Å\\\\\\\"¿¡¼­ \\\\\\\"ÆíÁý\\\\\\\" ¹öưÀ» Ŭ¸¯ÇÕ´Ï´Ù.

4.\\\\\\\"º¸¾Èä³ÎÇÊ¿ä(SSL)\\\\\\\"¸¦ üũÇϰí \\\\\\\"Ŭ¶óÀÌ¾ðÆ® ÀÎÁõ¼­ ¹«½Ã\\\\\\\"¸¦ ¼±ÅÃÇÕ´Ï´Ù.
³ª¸ÓÁö´Â µðÆúÆ® °ªÀ» ±×´ë·Î »ç¿ëÇÕ´Ï´Ù.
(°¢°¢ÀÇ °æ·Î¿¡ http://·Î ¼³Á¤µÇ¾î ÀÖ´Â °ÍÀ» ¸ðµÎ https://·Î ¹Ù²Ù¾îÁÖ¾î¾ß ÇÕ´Ï´Ù)

°¨»çÇÕ´Ï´Ù.

[À§·Î]

  ibm¼­¹ö¿¡¼­ tomcat ¼ÂÆÃ½Ã, SunX509 ¿À·ù³¯¶§..
org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.io.IOException: SunX509 KeyManagerFactory not available


¿À·ù¹ß»ý½Ã.. IBM , tomcat ¿¡ ÀÎÁõ¼­ ¼³Ä¡½Ã...

server.xml ¿¡ algorithm=\"IbmX509\" Ãß°¡...

Âü°í, http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

[À§·Î]

  iisÀ¥¼­¹ö¿¡¼­, ÀÎÁõ¼­ °»½ÅÇߴµ¥, °ú°Å°É·ç ³ª¿Ã¶§..

Q. mmc ÀÎÁõ¼­¿Í iis ¿¡¼­ ÀÎÁõ¼­ °»½ÅÇߴµ¥,
±âÁ¸(°ú°Å) ÀÎÁõ¼­°¡ ³ª¿Ã¶§..

A. üũ µÎ°¡Áö,
1. ISA(º¸¾È¼­¹ö,¹æÈ­º®)³ª ij½¬¼­¹ö¿¡µµ º°µµ·Î ÀÎÁõ¼­°¡
¼³Ä¡µÇ¾î Àִ°æ¿ì°¡ ÀÖÀ½.
2. À¥»çÀÌÆ® ¼³Á¤ÀÌ Á¦´ë·Î µÇ¾îÀÖ´ÂÁö, ´Ù¸¥ ÂÊÀ¸·Î
Á¢¼ÓµÇÁö ¾Ê´ÂÁö üũ.

[À§·Î]

  Resin jsse¿¡¼­ ÀÎÁõ¼­ ¼³Ä¡½Ã keystore ÆÄÀÏ »ý¼º ¹æ¹ý
Resin¼­¹ö(jsse±â¹Ý)¿¡¼­ ÀÎÁõ¼­ ¼³Ä¡½Ã ÀÎÁõ¼­ ÆÄÀÏÀº JKS Çü½ÄÀÇ keystore ÆÄÀÏÀ̾î¾ß ÇÑ´Ù.

keytool·Î PKCS12 ÆÄÀÏÀ» keystore ÆÄÀÏ·Î º¯È¯ÇÏ´Â ¹æ¹ý

keytool -importkeystore -srckeystore <PKCS # 12 file> -srcstoretype PKCS12 -destkeystore <JKS file>

[À§·Î]

  °³ÀÎŰ ÆÄÀÏ¿¡ ºñ¹ø Á¦°ÅÇϴ°Å.
Âü°í, key ÆÄÀÏ¿¡ ºñ¹Ð¹øÈ£°¡ Æ÷ÇԵǾîÀÖ´Â °æ¿ì, ºñ¹ø Á¦°ÅÇØÁÖ´Â ¹æ¹ý

openssl rsa -in server.key(ºñ¹øÆ÷ÇԵȰÅ) -out server-nodes.key(ºñ¹ø»©°í »õ·Î)

½ÇÇàÇϸé, ºñ¹ø³ÖÀ¸¶ó°í ÇÑ´Ù, ºñ¹ø³Ö¾îÁÖ°í ¿£ÅÍ Ä¡¸é »õ·Î¿î ÆÄÀÏ·Î »ý¼ºµÊ.

[À§·Î]

  :X509_check_private_key ¿À·ù

certificate routines:X509_check_private_key:key values mismatch

=> key ÆÄÀÏ·Î csr À» ¸¸µé¾î crtÆÄÀÏÀ» ¹Þ¾Æ ¼³Á¤À» Çϴµ¥ ۸¦ ´Ù¸¥°ÍÀ» »ç¿ëÇßÀ»¶§ ¹ß»ýÇÏ´Â ¿¡·¯ÀÓ.

=> pfx È­ÀÏ »ý¼ºÇϴ¹æ½ÄÀ¸·Î ÇØ¼­ °ËÁõÇϸéµÊ.

[À§·Î]

  WebtoB¼­¹ö¿¡ µµ¸ÞÀÎÀÌ ¿©·¯°³Àϰæ¿ì ssl ¼³Ä¡ÇÏ·Á¸é?
sslÆ÷Æ® : 443 ¿Ü¿¡ ´Ù¸¥ Æ÷Æ®¸¦ ºÎ¿©Çؼ­ ¼³Ä¡ÇÔ.
Á¢¼Ó¹æ¹ýÀº Æ÷Æ®¹øÈ£±îÁö ºÙ¿©¼­ Á¢¼Ó https:www.abc.com:444

À̹æ¹ýÀÌ Èûµç°æ¿ì´Â ¸ÖƼµµ¸ÞÀÎ »ç¿ë

[À§·Î]

  [¾ÆÆÄÄ¡½ÃÀÛÁß ·Î±× ó¸® ¹æ¹ý]Apache¼­¹ö VirtualHost number1.ucert.co.kr:80 overlaps with VirtualHost number2.ucert.co.kr:80 , t
[Fri Jun 24 14:52:10 2011] [warn] VirtualHost number1.ucert.co.kr:80 overlaps with VirtualHost number2.ucert.co.kr:80 , the first has precedence, perhaps you need a NameVirtualHost directive

[À§·Î]

  Window NT Tomcat ³×Æ®¿öÅ© µå¶óÀ̹ö ¿¬°áÇϱâ
ApacheÀÇ Alias ¶Ç´Â IISÀÇ °¡»ó µð·ºÅ͸®°ú °°Àº ¼³Á¤Àε¥ ³×Æ®¿öÅ© µå¶óÀ̺ê·Î ÁöÁ¤ÇÏ´Â ¹æ¹ýÀº?

[À§·Î]

  OHS¼­¹ö ·Î±× SSL call to NZ function nzos_Handshake failed with error 29014
À̹ø ÀúÈñ °í°´´Ôµé Áß OHS¼­¹ö ¼³Á¤À» Áö¿ø µå¸°ÀûÀÌ ÀÖ¾ú½À´Ï´Ù.

³»¿ëÀº ¾Æ·¡¿Í °°Àº ·Î±×°¡ ¹ß»ý µÇÁö¸¸ ½ÇÁ¦·Î´Â ¼­¹ö¿¡´Â ¹®Á¦°¡ ¹ß»ýÇϰųª ÇÏÁö ¾Ê¾Ò½À´Ï´Ù.

[·Î±×³»¿ë]

[Wed May 11 09:00:07 2011] [error] mod_ossl: SSL call to NZ function nzos_Handshake failed with error 29014 (www.ucert.co.kr:443, client 121.191.151.39)


[Wed May 11 09:00:07 2011] [error] mod_ossl: Unknown error


[À§·Î]

  L4 ½ºÀ§Ä¡¿Í SSLÀÎÁõ¼­
L4 ½ºÀ§Ä¡¿Í SSLÀÎÁõ¼­ ¼³Ä¡¿¡ °üÇÑ ³»¿ë

[À§·Î]

  Apache ¿Í Tomcat ¿©·¯°³ ¿¬µ¿ ¹æ¹ý
ÀÏ¹Ý ÀûÀ¸·Î ¸¹ÀÌ »ç¿ë ÇϽô Tomcat ·Îµå¹ë·±½Ì ¹× ¼¼¼Ç Ŭ·¯½ºÅ͸µÀÌ ¾Æ´Ñ ÅèĹÀÌ ¹°¸®ÀûÀ¸·Î 2°³ ÀÖÀ» °æ¿ì ¼³Á¤ÀÔ´Ï´Ù.
¿ì¼± 24¹ø ¼­¹ö¿¡ Apache°¡ ¼³Ä¡ µÇ¾îÀÖ¾î¾ß ÇÕ´Ï´Ù.

[¼­¹ö ±¸¼º Á¤º¸]
192.168.0.24 : Apache
192.168.0.31 tomcat1
192.168.0.32 tomcat2

°øÅë (192.168.0.24/192.168.0.31/192.168.0.32)

[JDK ¼³Ä¡]
[root@localhost src]# chmod 777 jdk-1_5_0_16-linux-i586.bin
[root@localhost src]# ./jdk-1_5_0_16-linux-i586.bin

yes

[root@localhost src]# vi /etc/profile
export JAVA_HOME=/usr/java/default


source /etc/profile


Apache (192.168.0.24)

[Mod_JK ¼³Ä¡]
[root@localhost src]# cd /usr/local/src/
[root@localhost src]# wget http://ftp.daum.net/apache//tomcat/tomcat-connectors/jk/source/jk-1.2.31/tomcat-connectors-1.2.31-src.tar.gz
[root@localhost src]# tar xvfz tomcat-connectors-1.2.31-src.tar.gz
[root@localhost src]# cd /usr/local/src/tomcat-connectors-1.2.31-src/native
[root@localhost native]# ./buildconf.sh
[root@localhost native]# ./configure --with-apxs=/usr/local/apache/bin/apxs
[root@localhost native]# make
[root@localhost native]# make install


[root@localhost native]# ls -altr /usr/local/apache/modules/mod_jk.so
[root@localhost native]# cd /usr/local/apache/conf


[httpd.conf ¼³Á¤]
[root@localhost conf]# vi httpd.conf

LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
Include conf/extra/httpd-vhosts.conf


[Vhost ¼³Á¤]
[root@localhost conf]# vi ./extra/httpd-vhost.conf
NameVirtualHost *:80



ServerName number1.ucert.co.kr
JkMount /* confluence




ServerName number2.ucert.co.kr
JkMount /* forum



[workers.properties ¼³Á¤]
[root@localhost conf]# vi workers.properties


workers.java_home=/usr/local/java


worker.list=confluence, forum
worker.confluence.port=8009
worker.confluence.host=192.168.0.31
worker.confluence.type=ajp13
worker.forum.port=8009
worker.forum.host=192.168.0.32
worker.forum.type=ajp13



Tomcat °øÅë (192.168.0.31/192.168.0.32)


[Tomcat ¼³Ä¡]

[root@localhost conf]# cd /usr/local/src
[root@localhost src]# wget http://apache.tt.co.kr/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz
[root@localhost src]# tar xvfz apache-tomcat-6.0.32.tar.gz
[root@localhost src]# mv ./apache-tomcat-6.0.32.tar.gz /usr/loacal/tomcat6
[root@localhost src]# cd /usr/local/tomcat6/bin/
[root@localhost bin]# startup.sh


[Æ÷Æ® »ç¿ë È®ÀÎ]

[root@localhost bin]# lsof -i


COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dhclient 1596 root 4u IPv4 4236 UDP *:bootpc
portmap 1712 rpc 3u IPv4 4516 UDP *:sunrpc
portmap 1712 rpc 4u IPv4 4517 TCP *:sunrpc (LISTEN)
rpc.statd 1744 rpcuser 3u IPv4 4678 UDP *:ieee-mms
rpc.statd 1744 rpcuser 6u IPv4 4661 UDP *:rrp
rpc.statd 1744 rpcuser 7u IPv4 4699 TCP *:aodv (LISTEN)
hpiod 1932 root 0u IPv4 5162 TCP localhost.localdomain:2208 (LISTEN)
hpssd.py 1937 root 4u IPv4 5189 TCP localhost.localdomain:2207 (LISTEN)
sshd 1958 root 3u IPv6 5240 TCP *:ssh (LISTEN)
cupsd 1967 root 4u IPv4 5275 TCP localhost.localdomain:ipp (LISTEN)
cupsd 1967 root 6u IPv4 5278 UDP *:ipp
master 2034 root 11u IPv4 5537 TCP localhost.localdomain:smtp (LISTEN)
avahi-dae 2139 avahi 13u IPv4 5903 UDP *:mdns
avahi-dae 2139 avahi 14u IPv6 5904 UDP *:mdns
avahi-dae 2139 avahi 15u IPv4 5905 UDP *:43325
avahi-dae 2139 avahi 16u IPv6 5906 UDP *:35981
sshd 2610 root 3u IPv6 8990 TCP 192.168.0.32:ssh->192.168.0.8:canocentral0 (ESTABLISHED)
java 3004 root 34u IPv6 19690 TCP *:webcache (LISTEN)
java 3004 root 42u IPv6 19703 TCP *:8009 (LISTEN)
java 3004 root 44u IPv6 19707 TCP localhost.localdomain:8005 (LISTEN)


Tomcat1 (192.168.0.31)

[root@localhost bin]# vi /usr/local/tomcat6/webapps/ROOT/index.html
TEST-1


Tomcat2 (192.168.0.32)

[root@localhost bin]# vi /usr/local/tomcat6/webapps/ROOT/index.html
TEST-2


Client PC (192.168.0.8)


C:\\WINDOWS\\system32\\drivers\\etc\\hosts


192.168.0.24 number1.ucert.co.kr
192.168.0.24 number2.ucert.co.kr

À¥ºê¶ó¿ìÀú¸¦ ÅëÇÏ¿© Á¢¼ÓÇÏ¿© Á¤»óÀûÀ¸·Î ±¸ºÐ µÇ´ÂÁö È®ÀÎ ÇÕ´Ï´Ù.

Tomcat1 (192.168.0.31)

Æ÷Æ® »ç¿ë ³»¿ª È®ÀÎ


[root@localhost ROOT]# lsof -i
java 3030 root 34u IPv6 18469 TCP *:webcache (LISTEN)
java 3030 root 42u IPv6 18482 TCP *:8009 (LISTEN)
java 3030 root 43u IPv6 18483 TCP 192.168.0.31:8009->192.168.0.24:36693 (ESTABLISHED)
java 3030 root 44u IPv6 18486 TCP localhost.localdomain:8005 (LISTEN)
java 3030 root 46u IPv6 20812 TCP 192.168.0.31:8009->192.168.0.24:36694 (ESTABLISHED)
java 3030 root 47u IPv6 20813 TCP 192.168.0.31:8009->192.168.0.24:57763 (ESTABLISHED)
java 3030 root 48u IPv6 20851 TCP 192.168.0.31:8009->192.168.0.24:57764 (ESTABLISHED)
java 3030 root 49u IPv6 20852 TCP 192.168.0.31:8009->192.168.0.24:57765 (ESTABLISHED)
java 3030 root 50u IPv6 20853 TCP 192.168.0.31:8009->192.168.0.24:57766 (ESTABLISHED)
java 3030 root 51u IPv6 20854 TCP 192.168.0.31:8009->192.168.0.24:57767 (ESTABLISHED)
java 3030 root 52u IPv6 20855 TCP 192.168.0.31:8009->192.168.0.24:57768 (ESTABLISHED)



Tomcat2 (192.168.0.32)

Æ÷Æ® »ç¿ë ³»¿ª È®ÀÎ


[root@localhost ROOT]# lsof -i
java 3004 root 42u IPv6 19703 TCP *:8009 (LISTEN)
java 3004 root 43u IPv6 19704 TCP 192.168.0.32:8009->192.168.0.24:59781 (ESTABLISHED)
java 3004 root 44u IPv6 19707 TCP localhost.localdomain:8005 (LISTEN)
java 3004 root 46u IPv6 22024 TCP 192.168.0.32:8009->192.168.0.24:59782 (ESTABLISHED)

[À§·Î]

  lighttpd ¼³Ä¡ ¹æ¹ý
¾ó¸¶ Àü¿¡ lighttpd ¸¦ ¼³Ä¡ÇÏ´Â ÀÛ¾÷ÀÌ À־ Á¤¸® ÇØ º¸¾Ò½À´Ï´Ù.
SSL ¼³Á¤ °ü·ÃÀº opensslÀ» ¼³Ä¡ÇÏ°í ¶óÀ̺귯¸® ÂüÁ¶ÇÏ¿© lighttpd ÄÄÆÄÀÏ ½Ã ¿É¼ÇÀ» °°ÀÌ ³Ö¾îÁÖ½Ã¸é µË´Ï´Ù.
[ȸ»ç ±ÔÁ¤»ó SSL ¼³Ä¡ °ü·ÃÀº °øÀ¯ µå¸± ¼ö ¾ø¾î SSL ³»¿ë¸¸ Á¦¿Ü ½Ã۰í ÀÛ¼º ÇÏ¿´½À´Ï´Ù.]

Ãß°¡ . PCRE ¼³Ä¡

[root@localhost ~]# yum install pcre-devel


1. Zlib ¼³Ä¡

[root@localhost ~]# cd /usr/local/src
[root@localhost src]# wget http://zlib.net/fossils/zlib-1.2.3.tar.gz
[root@localhost src]# tar zxvf zlib-1.2.3.tar.gz
[root@localhost src]# tar xvfz zlib-1.2.3.tar.gz
[root@localhost src]# cd zlib-1.2.3
[root@localhost zlib-1.2.3]# ./configure --shared
[root@localhost zlib-1.2.3]# make
[root@localhost zlib-1.2.3]# make install


2. Lighttpd ¼³Ä¡


[root@localhost src]# wget http://www.lighttpd.net/download/lighttpd-1.4.19.tar.gz
[root@localhost src]# tar xvfz lighttpd-1.4.19.tar.gz
[root@localhost src]# cd lighttpd-1.4.19
[root@localhost lighttpd-1.4.19]# ./configure \\
--prefix=/usr/local/lighttpd \\
--enable-shared \\
--with-ldap \\
--with-pcre \\
--with-zlib \\
--without-bzip2
[root@localhost lighttpd-1.4.19]# make
[root@localhost lighttpd-1.4.19]# make install
[root@localhost lighttpd-1.4.19]# pwd
[root@localhost lighttpd-1.4.19]# /usr/local/src/lighttpd-1.4.19
[root@localhost lighttpd-1.4.19]# sed -e \'s/FOO/lighttpd/g\' doc/rc.lighttpd.redhat > /etc/init.d/lighttpd
[root@localhost lighttpd-1.4.19]# vi /etc/rc.d/init.d/lighttpd
LIGHTTPD_CONF_PATH=\"/usr/local/lighttpd/conf/lighttpd.conf\" ·Î ¼öÁ¤
lighttpd=\"/usr/local/lighttpd/sbin/lighttpd\" ·Î ¼öÁ¤
[root@localhost lighttpd-1.4.19]# chmod 755 /etc/rc.d/init.d/lighttpd
[root@localhost lighttpd-1.4.19]# vi /etc/sysconfig/lighttpd
LIGHTTPD_CONF_PATH=/usr/local/lighttpd/conf/lighttpd.conf
[root@localhost lighttpd-1.4.19]# useradd -s /sbin/nologin www
[root@localhost lighttpd-1.4.19]# cd /usr/local/lighttpd/
[root@localhost lighttpd]# mkdir conf logs htdocs
[root@localhost lighttpd]# touch logs/error_log
[root@localhost lighttpd]# touch logs/access_log
[root@localhost lighttpd]# chown -Rf www.www /usr/local/lighttpd/logs /usr/local/lighttpd/htdocs
[root@localhost lighttpd]# chmod 100 logs/
[root@localhost lighttpd]# chmod 711 conf/
[root@localhost lighttpd]# cd conf/
[root@localhost conf]# vi lighttpd.conf


º¹»çÇÏ¿© ºÙ¿© ³Ö±â
----------------------------------------------------------------------------------
# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $


############ Options you really have to take care of ####################


## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# \"mod_rewrite\",
# \"mod_redirect\",
# \"mod_alias\",
\"mod_access\",
# \"mod_cml\",
# \"mod_trigger_b4_dl\",
# \"mod_auth\",
# \"mod_status\",
# \"mod_setenv\",
# \"mod_fastcgi\",
# \"mod_proxy\",
# \"mod_simple_vhost\",
# \"mod_evhost\",
# \"mod_userdir\",
# \"mod_cgi\",
# \"mod_compress\",
# \"mod_ssi\",
# \"mod_usertrack\",
# \"mod_expire\",
# \"mod_secdownload\",
# \"mod_rrdtool\",
\"mod_accesslog\" )


## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = \"/usr/local/lighttpd/htdocs/\"


## where to send error-messages to
server.errorlog = \"/usr/local/lighttpd/logs/error_log\"


# files to check for if .../ is requested
index-file.names = ( \"index.php\", \"index.html\", \"index.htm\", \"default.htm\" )


## set the event-handler (read the performance section in the manual)
# server.event-handler = \"freebsd-kqueue\" # needed on OS X


# mimetype mapping
mimetype.assign = (
\".pdf\" => \"application/pdf\",
\".sig\" => \"application/pgp-signature\",
\".spl\" => \"application/futuresplash\",
\".class\" => \"application/octet-stream\",
\".ps\" => \"application/postscript\",
\".torrent\" => \"application/x-bittorrent\",
\".dvi\" => \"application/x-dvi\",
\".gz\" => \"application/x-gzip\",
\".pac\" => \"application/x-ns-proxy-autoconfig\",
\".swf\" => \"application/x-shockwave-flash\",
\".tar.gz\" => \"application/x-tgz\",
\".tgz\" => \"application/x-tgz\",
\".tar\" => \"application/x-tar\",
\".zip\" => \"application/zip\",
\".mp3\" => \"audio/mpeg\",
\".m3u\" => \"audio/x-mpegurl\",
\".wma\" => \"audio/x-ms-wma\",
\".wax\" => \"audio/x-ms-wax\",
\".ogg\" => \"application/ogg\",
\".wav\" => \"audio/x-wav\",
\".gif\" => \"image/gif\",
\".jpg\" => \"image/jpeg\",
\".jpeg\" => \"image/jpeg\",
\".png\" => \"image/png\",
\".xbm\" => \"image/x-xbitmap\",
\".xpm\" => \"image/x-xpixmap\",
\".xwd\" => \"image/x-xwindowdump\",
\".css\" => \"text/css\",
\".html\" => \"text/html\",
\".htm\" => \"text/html\",
\".js\" => \"text/javascript\",
\".asc\" => \"text/plain\",
\".c\" => \"text/plain\",
\".cpp\" => \"text/plain\",
\".log\" => \"text/plain\",
\".conf\" => \"text/plain\",
\".text\" => \"text/plain\",
\".txt\" => \"text/plain\",
\".dtd\" => \"text/xml\",
\".xml\" => \"text/xml\",
\".mpeg\" => \"video/mpeg\",
\".mpg\" => \"video/mpeg\",
\".mov\" => \"video/quicktime\",
\".qt\" => \"video/quicktime\",
\".avi\" => \"video/x-msvideo\",
\".asf\" => \"video/x-ms-asf\",
\".asx\" => \"video/x-ms-asf\",
\".wmv\" => \"video/x-ms-wmv\",
\".bz2\" => \"application/x-bzip\",
\".tbz\" => \"application/x-bzip-compressed-tar\",
\".tar.bz2\" => \"application/x-bzip-compressed-tar\"
)


# Use the \"Content-Type\" extended attribute to obtain mime type if possible
#mimetype.use-xattr = \"enable\"



## send a different Server: header
## be nice and keep it at lighttpd
server.tag = \"lighttpd/1.4.19\"


#### accesslog module
accesslog.filename = \"/usr/local/lighttpd/logs/access_log\"


## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( \"~\", \".inc\" )


$HTTP[\"url\"] =~ \"\\.pdf$\" {
server.range-requests = \"disable\"
}


##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( \".php\", \".pl\", \".fcgi\" )


######### Options that are good to be but not neccesary to be changed #######


## bind to port (default: 80)
server.port = 80


## bind to localhost (default: all interfaces)
#server.bind = \"grisu.home.kneschke.de\"


## error-handler for status 404
#server.error-handler-404 = \"/error-handler.html\"
#server.error-handler-404 = \"/error-handler.php\"


## to help the rc.scripts
#server.pid-file = \"/var/run/lighttpd.pid\"



###### virtual hosts
##
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
## or
## virtual-server-root + http-host + virtual-server-docroot
##
#simple-vhost.server-root = \"/home/weigon/wwwroot/servers/\"
#simple-vhost.default-host = \"grisu.home.kneschke.de\"
#simple-vhost.document-root = \"/pages/\"



##
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for \'File not found\'
#server.errorfile-prefix = \"/home/weigon/projects/lighttpd/doc/status-\"


## virtual directory listings
#dir-listing.activate = \"enable\"


## enable debugging
#debug.log-request-header = \"enable\"
#debug.log-response-header = \"enable\"
#debug.log-request-handling = \"enable\"
#debug.log-file-not-found = \"enable\"


### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = \"/\"


## change uid to <uid> (default: don\'t care)
server.username = \"www\"


## change uid to <uid> (default: don\'t care)
server.groupname = \"www\"


#### compress module
#compress.cache-dir = \"/tmp/lighttpd/cache/compress/\"
#compress.filetype = (\"text/plain\", \"text/html\")


#### proxy module
## read proxy.txt for more info
#proxy.server = ( \".php\" =>
# ( \"localhost\" =>
# (
# \"host\" => \"192.168.0.101\",
# \"port\" => 80
# )
# )
# )


#### fastcgi module
## read fastcgi.txt for more info
## for PHP don\'t forget to set cgi.fix_pathinfo = 1 in the php.ini
#fastcgi.server = ( \".php\" =>
# ( \"localhost\" =>
# (
# \"socket\" => \"/tmp/php-fastcgi.socket\",
# \"bin-path\" => \"/usr/local/bin/php\"
# )
# )
# )


#### CGI module
#cgi.assign = ( \".pl\" => \"/usr/bin/perl\",
# \".cgi\" => \"/usr/bin/perl\" )
#


#### SSL engine
#ssl.engine = \"enable\"
#ssl.pemfile = \"C:/lighttpd/sbin/server.pem\"


#### status module
#status.status-url = \"/server-status\"
#status.config-url = \"/server-config\"


#### auth module
## read authentication.txt for more info
#auth.backend = \"plain\"
#auth.backend.plain.userfile = \"lighttpd.user\"
#auth.backend.plain.groupfile = \"lighttpd.group\"


#auth.backend.ldap.hostname = \"localhost\"
#auth.backend.ldap.base-dn = \"dc=my-domain,dc=com\"
#auth.backend.ldap.filter = \"(uid=$)\"


#auth.require = ( \"/server-status\" =>
# (
# \"method\" => \"digest\",
# \"realm\" => \"download archiv\",
# \"require\" => \"user=jan\"
# ),
# \"/server-config\" =>
# (
# \"method\" => \"digest\",
# \"realm\" => \"download archiv\",
# \"require\" => \"valid-user\"
# )
# )


#### url handling modules (rewrite, redirect, access)
#url.rewrite = ( \"^/$\" => \"/server-status\" )
#url.redirect = ( \"^/wishlist/(.+)\" => \"http://www.123.org/$1\" )
#### both rewrite/redirect support back reference to regex conditional using %n
#$HTTP[\"host\"] =~ \"^www\\.(.*)\" {
# url.redirect = ( \"^/(.*)\" => \"http://%1/$1\" )
#}


#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
#evhost.path-pattern = \"/home/storage/dev/www/%3/htdocs/\"


#### expire module
#expire.url = ( \"/buggy/\" => \"access 2 hours\", \"/asdhas/\" => \"access plus 1 seconds 2 minutes\")


#### ssi
#ssi.extension = ( \".shtml\" )


#### rrdtool
#rrdtool.binary = \"/usr/bin/rrdtool\"
#rrdtool.db-name = \"/var/www/lighttpd.rrd\"


#### setenv
#setenv.add-request-header = ( \"TRAV_ENV\" => \"mysql://user@host/db\" )
#setenv.add-response-header = ( \"X-Secret-Message\" => \"42\" )


## for mod_trigger_b4_dl
# trigger-before-download.gdbm-filename = \"/home/weigon/testbase/trigger.db\"
# trigger-before-download.memcache-hosts = ( \"127.0.0.1:11211\" )
# trigger-before-download.trigger-url = \"^/trigger/\"
# trigger-before-download.download-url = \"^/download/\"
# trigger-before-download.deny-url = \"http://127.0.0.1/index.html\"
# trigger-before-download.trigger-timeout = 10


## for mod_cml
## don\'t forget to add index.cml to server.indexfiles
# cml.extension = \".cml\"
# cml.memcache-hosts = ( \"127.0.0.1:11211\" )


#### variable usage:
## variable name without \".\" is auto prefixed by \"var.\" and becomes \"var.bar\"
#bar = 1
#var.mystring = \"foo\"


## integer add
#bar += 1
## string concat, with integer cast as string, result: \"www.foo1.com\"
#server.name = \"www.\" + mystring + var.bar + \".com\"
## array merge
#index-file.names = (foo + \".php\") + index-file.names
#index-file.names += (foo + \".php\")


#### include
#include /etc/lighttpd/lighttpd-inc.conf
## same as above if you run: \"lighttpd -f /etc/lighttpd/lighttpd.conf\"
#include \"lighttpd-inc.conf\"


#### include_shell
#include_shell \"echo var.a=1\"
## the above is same as:
#var.a=1
----------------------------------------------------------------------------------
¿©±â±îÁö


3. lighttpd ½ÃÀÛ

[root@localhost conf]# /etc/rc.d/init.d/lighttpd start
lighttpd (À»)¸¦ ½ÃÀÛ Áß: [ OK ]

[À§·Î]

  Apache Directory ¼³Á¤
Apache ¼³Á¤ ½Ã Directory ¼³Á¤ ³»¿ë ¾È³» µå¸³´Ï´Ù.
ÇØ´ç ¼³Á¤Àº VirtualHost Àý ¾È¿¡ ÀÔ·Â ÇϽøé ÇØ´ç VirtualHost¿¡¸¸ Àû¿ë µË´Ï´Ù.^^

[¸ðµÎ Çã¿ë]

1. Directory ¼³Á¤

<Directory \"/home/webhome/\">
Options FollowSymLinks MultiViews
AllowOverride AuthConfig
Order deny,allow
Allow from all
</Directory>
</VirtualHost>

[ƯÁ¤ IP¸¸ Çã¿ë]

1. Directory ¼³Á¤

<Directory \"\"/home/webhome/\">
Options FollowSymLinks MultiViews
AllowOverride AuthConfig
Order deny,allow
Deny from all
Allow from <¾ÆÀÌÇÇ ÁÖ¼Ò>
</Directory>

[¾ÏÈ£ ÀÔ·Â ¼º°ø½Ã Çã¿ë]

1. ¾ÆÀ̵ð ¹× ÆÐ½º¿öµå »ý¼º

${APACHE_HOME}/bin/htpasswd -c ${APACHE_HOME}/passwd/password <¾ÆÀ̵ð>

2. Directory ¼³Á¤

<Directory \"/home/webhome/\">
AuthType Basic
AuthName \"Restricted Files\"
AuthUserFile \"${APACHE_HOME}/passwd/password\"
Require user <¾ÆÀ̵ð>
</Directory>

[À§·Î]

  ImageMagick ¼³Ä¡ ¹× »ç¿ë ¹æ¹ý
[JPEG LIB ¼³Ä¡]

ftp://ftp.aai.ee/pub/unix/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
cp /usr/share/libtool/config.sub .
cp /usr/share/libtool/config.guess .
mkdir -p /usr/local/man/man1
./configure -enable-shared
make
sudo make install


[PNG LIB ¼³Ä¡]

wget http://savory.googlecode.com/files/libpng-1.2.35.tar.gz
tar zxvf libpng-1.2.35.tar.gz
cd libpng-1.2.35
./configure
make
sudo make install


[TIFF LIB ¼³Ä¡]

wget ftp://ftp.uni-hannover.de/pub/mirror/bsd/NetBSD/packages/distfiles/tiff-3.6.1/libtiff-lzw-compression-kit-1.5.tar.gz
wget http://download.osgeo.org/libtiff/tiff-3.8.2.tar.gz
tar zxvf libtiff-lzw-compression-kit-1.5.tar.gz
tar zxvf tiff-3.8.2.tar.gz
cd tiff-3.8.2/libtiff
cp ../../libtiff-lzw-compression-kit-1.5/tif_lzw.c .
cd ..
./configure
make
sudo make install


[ImageMagick ¼³Ä¡]

cd /usr/local/src
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
tar zxvf ImageMagick-6.5.0-7.tar.gz
cd ImageMagick-6.5.0-7
./configure --prefix=/usr/local/ImageMagick --enable-lzw --with-jpeg=yes--with-png=yes --with-tiff=yes --disable-static --without-perl
make
sudo make install


[ImageMagick PATH ¼³Á¤]

~/.profile ¿¡ PATH=/usr/local/ImageMagick/bin:$PATH¸¦ ¸¶Áö¸·ÁÙ¿¡ Ãß°¡ÇÑ´Ù.



[TEST]

convert -list format
Magick-config --version



[À̹ÌÁö ¸®»çÀÌÁî]

convert -resize 70% -quality 80% myContents_01_02.jpg output.jpg


[¿öÅ͸¶Å©]

composite -watermark 30% -gravity center watermark.png input.jpg output.jpg



[À§·Î]

  ÀÎÁõ¼­ ¼³Ä¡¸¦ ¸¶Ä£ ÈÄ https·Î Á¢¼ÓÇßÀ¸³ª ÆäÀÌÁö°¡ º¸ÀÌÁú ¾Ê½À´Ï´Ù.
º¸¾È¼­¹ö ÀÎÁõ¼­¸¦ À¥¼­¹ö¿¡ ¼³Ä¡ ¿Ï·á ÇßÀ¸³ª https Á¢¼ÓÀÌ ¾ÈµÇ´Â °æ¿ì´Â ´Ù¾çÇÕ´Ï´Ù.

ÀÌ Áß °¡Àå ÈçÇÑ °æ¿ì´Â port¸¦ 443ÀÌ ¾Æ´Ñ ´Ù¸¥ port·Î ¼³Á¤ÇϽŠÈÄ ¿¬°á ÁÖ¼Òâ¿¡ https://www.sgssl.net:port¹øÈ£ <- ÀÌ¿Í °°ÀÌ port Á¤º¸¸¦ ³Ö¾îÁÖÁö ¾ÊÀ¸ ½Å °æ¿ì ¿Í ¼³Á¤ÇϽŠport°¡ Â÷´ÜµÇ¾î ÀÖ´Â °æ¿ì ÀÌ´Ï È®ÀÎ ÇØÁֽñ⠹ٶø´Ï´Ù.

port Á¤º¸¿¡ ¹®Á¦°¡ ¾øÀ» °æ¿ì À¥¼­¹ö¿Ü¿¡ º°·Îµµ À¥¹æÈ­º®À» »ç¿ëÁß¿¡ ÀÖ¾î º¸¾È¼­¹ö ÀÎÁõ¼­ Àû¿ëÀ» À¥¹æÈ­º®¿¡µµ µ¿ÀÏÇÏ°Ô ÁøÇàÀ» ÇØÁÖ¼Å¾ß ÇÏ´Â °æ¿ìµµ ÀÖÀ¸´Ï À¥¹æÈ­º® »ç¿ë ½Ã ´ã´çÀÚ¿¡°Ô ¹®ÀÇÇØº¸½Ã±æ ¹Ù¶ø´Ï´Ù.

[À§·Î]

  VPN Àåºñ¸¦ »ç¿ëÇϰí ÀÖ½À´Ï´Ù. º¸¾È¼­¹ö ÀÎÁõ¼­ ¼³Ä¡°¡ °¡´ÉÇѰ¡¿ä?
VPN Àåºñµµ ÇϳªÀÇ À¥¼­¹ö·Î Ãë±ÞÀÌ µÇ¸ç,
À¥¼­¹ö ÀÎÁõ¼­¸¦ ½ÅûÇÏ¿© ¼ÂÆÃÀ» ÇØÁÖ½Ã¸é µË´Ï´Ù.

[À§·Î]

°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§ | Á¦Ç° ¹®ÀÇ | ±â¼ú ¹®ÀÇ | À§·Î
¼­¿ï½Ã °­³²±¸ ¿ª»ïµ¿ 681-47¹øÁö ¾ÙÆ®À£ºôµù 8Ãþ  ³ªÀÎÆ÷À¯(ÁÖ) ´ëÇ¥ÀÌ»ç ÇѼøÃ¶
»ç¾÷ÀÚµî·Ï¹øÈ£ 306-81-19221 / Åë½ÅÆÇ¸Å¾÷½Å°í Á¦ °­³²-1143È£