1대의 서버에 www.a.co.kr, www.b.co.kr www.c.co.kr 서버를 운용할 때,
apache에서 포트를 443, 444, 445 이렇게 지정해야 한다고 하더라구요 (idc 팀에서)
443 포트 1개 쓰면서 3개 도메인 운영하는거 안되나요?
- to be continue -
1대의 서버에 www.a.co.kr, www.b.co.kr www.c.co.kr 서버를 운용할 때,
apache에서 포트를 443, 444, 445 이렇게 지정해야 한다고 하더라구요 (idc 팀에서)
443 포트 1개 쓰면서 3개 도메인 운영하는거 안되나요?
443 ÇÑ°³·Î ´ÙÁß µµ¸ÞÀÎ È°¿ë
https://www.comodossl.co.kr/products/detail/ssl-certificate-comodo-ev-multi-domain.aspx
¹°·Ð ´ëºÎºÐÀº ÀÎÁõ¼´Â ÀÎÁõ¼´ç °¢°¢ ÀÚ½ÅÀÇ Æ÷Æ®¸¦ »ç¿ëÇؾßÇÔ
ÀÌ°Ô ´ëºÎºÐ ¾Ë°í ÀÖ´Â Àú°¡Çü ÀÎÁõ¼ À̹ǷΠ»óÇ° ¼³¸í Æнº..
»ç¿ë ¿¹½Ã
http://www.xeschool.com/xe/step2_62
¼¹ö °ü¸®ÀڽôÏ
Àß È°¿ëÇÏ¿© ÇÊ¿äÇÑ´ë·Î Àû¿ëÇØ ÁÖ½Ã¸é µË´Ï´Ù.
½ÇÁ¦ º¸¾È¼¹ö¸¦ ÆǸÅÇÏ´Â ¾ÖµéÀº ´ëºÎºÐ ¿µ¾÷Á÷À̶ó
ÀÚ¼¼ÇѰͱîÁö´Â ¾ËÁöµµ ¼ÂÆÃÇÒÁÙµµ ¸ô¶ó¿ä.
¹Ì¸® Çغ¸°í ½Í¾îµµ ¿µ¾÷Áö¿ø¿¡ ÇØ´çÇÏ´Â
½Ã¿¬À» À§ÇÑ ½Ã¿¬Ç±. »ùÇÃ. Å×½ºÆ® Á¦Ç° ´Þ¶ó°í Çصµ
ÃÑÆÇÀº ±×µý°Å ¾ø´Ù°í ÇÏ´Â°Ô ¹®Á¦ ¾Æ´Ò±î ½Í³×¿ä.
°í·Î... ¹Ì¸® Çغ»³ðµéÇÏ°í °Å·¡Çϴ°ÍÀÌ
ÀÚ½ÅÀÌ ÇÏÁö ¸øÇÏ´Â °æ¿ì Á¤½Å °Ç°¿¡ ÁÁ´Ù°í »ý°¢ÇÕ´Ï´Ù.
Àúµµ ¸ÖƼÇüÀº Áö¿ø ¸øÇÏ°í
´ÜÀÏÇü±îÁö¸¸ ´Ù·êÁÙ ¾Ë¾Æ¿ä....^^;;
³»µ·³»°í Å×½ºÆ®Çغ¸±â¿¡´Â ³Ñ ³¶ºñ°¡ ¸¹´Ù´Â.....
±âº» 3~4°³ ¹¾î¼ ÆÄ´Â ¸ÖƼ SSL ±¸¸ÅÇؼ »ç¿ëÇØ¾ß ÇÒ°Å¿¹¿ä.
SNIµµ ÀÌÁ¦´Â ¾È¸ÔÈ÷´Â°Å °°¾Æ¿ä.
1 ip+1 port°¡ À¯ÀÏÇÏ´Ï...
Àü Àß ¼³Á¤Çؼ ¾²°í ÀÖ½À´Ï´Ù;
ÀÎÁõ¼ µÎ°³ µµ¸ÞÀÎ µÎ°³ÀÔ´Ï´Ù.
apache 2.4.x ¹öÁ¯Àε¥, ¾ÈµÇ´õ¶ó±¸¿ä.
ServerFault¿¡¼´Â 1 port + 1 ipÀÌ°í, SNI¸¦ ÇØ¾ß ÇÑ´Ù°í Çϴµ¥...
http://serverfault.com/questions/109800/multiple-ssl-domains-on-the-same-ip-address-and-same-port
ServerAdmin hiseob@nsys.pe.kr
DocumentRoot "/srv/http"
<Directory "/srv/http">
Options All Multiviews
AllowOverride All
Require all granted
</Directory>
[hiseob@nsys_server hosts]$ cat 00_default.conf
<VirtualHost _default_:80>
ServerName nsys.pe.kr
ServerAlias www.nsys.pe.kr
Include /etc/httpd/conf/hosts/00_default.include
<IfModule mpm_peruser_module>
ServerEnvironment http http
</IfModule>
LogLevel info
ErrorLog /var/log/httpd/default_error_log
CustomLog /var/log/httpd/default_access_log combined
</VirtualHost>
<IfModule ssl_module>
Listen 443
SSLUseStapling on
SSLStaplingCache "shmcb:logs/stapling-cache(150000)"
<VirtualHost _default_:443>
ServerName nsys.pe.kr
ServerAlias www.nsys.pe.kr
Include /etc/httpd/conf/hosts/00_default.include
Include /etc/httpd/conf/hosts/strong_ssl.include
Include /etc/httpd/conf/hosts/cert_nsys.pe.kr.include
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
LogLevel info
ErrorLog /var/log/httpd/default_ssl_error_log
CustomLog /var/log/httpd/default_ssl_access_log combined
<IfModule log_config_module>
CustomLog /var/log/httpd/default_ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost>
</IfModule>
[hiseob@nsys_server hosts]$ cat gaegroup.org.conf
<VirtualHost *:80>
ServerName gaegroup.org
ServerAlias www.gaegroup.org
Include /etc/httpd/conf/hosts/gaegroup.org.include
<IfModule mpm_peruser_module>
ServerEnvironment http http
</IfModule>
LogLevel info
ErrorLog /var/log/httpd/gaegroup_error_log
CustomLog /var/log/httpd/gaegroup_access_log combined
</VirtualHost>
<IfModule ssl_module>
<VirtualHost *:443>
ServerName gaegroup.org
ServerAlias www.gaegroup.org
Include /etc/httpd/conf/hosts/gaegroup.org.include
Include /etc/httpd/conf/hosts/strong_ssl.include
Include /etc/httpd/conf/hosts/cert_gaegroup.org.include
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<IfModule setenvif_module>
BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfModule>
LogLevel info
ErrorLog /var/log/httpd/gaegroup_ssl_error_log
CustomLog /var/log/httpd/gaegroup_ssl_access_log combined
<IfModule log_config_module>
CustomLog /var/log/httpd/gaegroup_ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</IfModule>
</VirtualHost>
</IfModule>
[hiseob@nsys_server hosts]$ cat cert_gaegroup.org.include
SSLCertificateFile /etc/httpd/conf/certs/www.gaegroup.org.crt
SSLCertificateKeyFile /etc/httpd/conf/certs/www.gaegroup.org.key
SSLCACertificateFile /etc/httpd/conf/certs/www.gaegroup.org.ca.crt
[hiseob@nsys_server hosts]$ cat cert_nsys.pe.kr.include
SSLCertificateFile /etc/httpd/conf/certs/nsys.pe.kr.crt
SSLCertificateKeyFile /etc/httpd/conf/certs/nsys.pe.kr.key
SSLCACertificateFile /etc/httpd/conf/certs/nsys.pe.kr.ca.crt
±×³É ÀÌ·¸°Ô Çؼ ¾²´Âµ¥ º° ¹®Á¦ ¾øÀÌ ¾²°í ÀÖ½À´Ï´Ù.
mpm_peruser_module
ssllabs¿¡¼ È®ÀÎ Çغ¸´Ï, default ´Â sni ¾øÀÌ µ¹¾Æ°¡°í gaegroup.org ´Â sni ÀÖ¾î¾ß ÇÑ´Ù°í ³ª¿À³×¿ä.
ssl ¼³Á¤Àº °°Àº°Å °°½À´Ï´Ù.
IDC ±â¼ú¿¡¼´Â ºÒ°¡´ÉÇÏ´Ï, port¸¦ ¹Ù²Ù¶ó´Âµ¥...
±ÍÂúÀ¸¸é SSL ÇÁ·Ï½Ã Àü¿ë ¸®´ª½º ¸¸µé¾î¹ö¸®¸é ´õ ÆíÇÕ´Ï´Ù.
¿©Å ¸ÖƼSSLÀ» »ç¾ßÁö¸¸ µÇ´ÂÁÙ ¾Ë¾Ò´Âµ¥ ´ÜÀÏSSL·Îµµ µÇ¾ú±º¿ä.
°¨»çÇÕ´Ï´Ù.
¸¸¾à 1 IP ¿¡ 443 À¸·Î ½á¾ß ÇÑ´Ù Çϸé SAN ¿¡ ¿©·¯ µµ¸ÞÀÎÀ» ³Ö¾î¼ ¾²´Â Multidomain ¹æ½Ä ÀÎÁõ¼°¡ °¡Àå Ŭ¶óÀ̾ðÆ®¿¡ Ãæµ¹³»´ÂÀÏ ¾øÀÌ µ¹¾Æ°¡±ä ÇÕ´Ï´Ù. (XP+IE6 µµ Áö¿ø °¡´É)
±×·¸Áö ¾Ê°í, ¿©·¯ ÀÎÁõ¼¸¦ ÇÑ IP + PORT ¿¡ ³Ö°Ô µÇ¸é, SNI °¡ Áö¿øµÇ´Â Ŭ¶óÀ̾ðÆ® (VISTA ÀÌÈÄ) ´Â Á¤»óµ¿ÀÛ Çϴµ¥, ±×·¸Áö ¾ÊÀ» °æ¿ì Á¤»óµ¿ÀÛÇÏÁö ¾Ê´Â Çö»óÀÌ ¹ß»ýÇÏ°Ô µË´Ï´Ù.
(XP+IE7 µµ Áö¿ø ¾ÈµË´Ï´Ù)
--
¼¹ö´Â ¾î¶»°Ô Çؼµç Áö¿øÇÏ°Ô ÇÒ ¼ö Àִµ¥, ¹®Á¦´Â Ŭ¶óÀ̾ðÆ® (XP À¯Àú) °¡ ¹®Á¦ÀÔ´Ï´Ù.
¿äÁîÀ½ ¼¹öµéÀº SNI ¸¦ Áö¿øÇϴµ¥, ¾ÆÁ÷µµ ³²¾ÆÀÖ´Â XP À¯Àú°¡ ¹®Á¦ÀÔ´Ï´Ù.