20.4. ±âÁ¸ÀÇ Å°¿Í ÀÎÁõ¼­ »ç¿ëÇϱâ

±âÁ¸ÀÇ Å°¿Í ÀÎÁõ¼­°¡ Á¸ÀçÇÏ´Â °æ¿ì (¿¹¸¦ µé¾î ȸ»çÀÇ º¸¾È ¼­¹ö Á¦Ç°À» ±³Ã¼Çϱâ À§ÇÏ¿© »õ·Î¿î º¸¾È ¼­¹ö¸¦ ¼³Ä¡ÇϽô °æ¿ì), º¸¾È ¼­¹ö¿Í ÇÔ²² ±âÁ¸ÀÇ Å°¿Í ÀÎÁõ¼­¸¦ »ç¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù. ÇÏÁö¸¸ ´ÙÀ½°ú °°Àº µÎ°¡Áö °æ¿ì¿¡´Â ±âÁ¸ÀÇ Å°¿Í ÀÎÁõ¼­¸¦ »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù:

¸¸ÀÏ ±âÁ¸ Å°¿Í ÀÎÁõ¼­°¡ »ç¿ë °¡´ÉÇÏ´Ù¸é, »õ·Î¿î Å°¸¦ »ý¼ºÇÏ¿© »õ ÀÎÁõ¼­¸¦ ¹ß±Þ¹ÞÀ¸½Ç ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ÇÏÁö¸¸ ¿©·¯ºÐÀÇ Å°¿Í ÀÎÁõ¼­¸¦ Æ÷ÇÔÇÑ ÆÄÀϵéÀ» ´Ù¸¥ À§Ä¡·Î À̵¿½ÃŲ ÈÄ ÆÄÀϸíÀ» º¯°æÇØ ÁֽʽÿÀ.

±âÁ¸ Å° ÆÄÀÏÀ» ´ÙÀ½ÀÇ À§Ä¡·Î À̵¿½Ãŵ´Ï´Ù:

/etc/httpd/conf/ssl.key/server.key

±âÁ¸ ÀÎÁõ¼­ ÆÄÀÏÀ» ´ÙÀ½ÀÇ À§Ä¡·Î À̵¿½Ãŵ´Ï´Ù:

/etc/httpd/conf/ssl.crt/server.crt

Å°¿Í ÀÎÁõ¼­¸¦ À̵¿½ÃŲ ÈÄ 20.9 ÀýÀ¸·Î ³Ñ¾î°¡½Ã±â ¹Ù¶ø´Ï´Ù.

Red Hat º¸¾È À¥ ¼­¹ö¿¡¼­ ¾÷±×·¹À̵å ÇϽŴٸé, ±âÁ¸ÀÇ Å° (httpsd.key)¿Í ÀÎÁõ¼­ (httpsd.crt)´Â /etc/httpd/conf/¿¡ À§Ä¡ÇÕ´Ï´Ù. »õ·Î¿î º¸¾È ¼­¹ö°¡ ÀÌ ÆÄÀϵéÀ» ã¾Æ¼­ »ç¿ëÇÒ ¼ö ÀÖµµ·Ï ´ÙÀ½ÀÇ µÎ ¸í·É¾î¸¦ »ç¿ëÇÏ¿© Å°¿Í ÀÎÁõ¼­¸¦ À̵¿ÇϽŠÈÄ À̸§À» º¯°æ½ÃÄÑ ÁֽʽÿÀ:

mv /etc/httpd/conf/httpsd.key /etc/httpd/conf/ssl.key/server.key
mv /etc/httpd/conf/httpsd.crt /etc/httpd/conf/ssl.crt/server.crt

±× ÈÄ ´ÙÀ½ÀÇ ¸í·É¾î¸¦ »ç¿ëÇÏ¿© º¸¾È ¼­¹ö¸¦ ½ÃÀÛÇÕ´Ï´Ù:

/sbin/service httpd start

º¸¾È ¼­¹ö¿¡ ´ëÇÑ ¾ÏÈ£¸¦ ÀÔ·ÂÇϽõµ·Ï ¿ä±¸ÇÒ °ÍÀÔ´Ï´Ù. ¾ÏÈ£¸¦ ÀÔ·ÂÇϽŠÈÄ [Enter] Å°¸¦ ´©¸£½Ã¸é ¼­¹ö°¡ ½ÃÀÛÇÕ´Ï´Ù.