Saminnet-Search Article Wiki Forum Blog SNS Cloud
SSL vhost SNI

  • Data-Articles
    • Slower CKD stage (3) Wed12,16:41pm

      Having your kidneys work 窶 even a little 窶 can help you feel better and live longer. If you can slow your CKD, you can delay the need for treatment of kidney failure. The types of changes you might make to help your heart or the rest of your body will help your kidneys, too. Here are some things you can do 窶 or avoid 窶 to protect your kidneys: r Blood Sugar In The Target Range.…

      Read More...

SSL vhost SNI

Server Name Indication (SNI)

縺九▽縺ヲ縺ッ縲!P繧「繝峨Ξ繧ケ縺ィSSL繧オ繝シ繝占ィシ譏取嶌縺ッ1蟇セ1縺ァ縺ゅk蠢隕√′縺ゅj縲1IP繧「繝峨Ξ繧ケ荳翫ョ隍謨ー縺ョ繧オ繧、繝医〒縺ッ縲√ラ繝。繧、繝ウシWeb繧オ繧、繝茨シ峨#縺ィ縺ォ迢ャ閾ェ縺ョ險シ譏取嶌繧貞茜逕ィ縺吶k縺薙→縺ッ縺ァ縺阪↑縺縺ィ縺輔l縺ヲ縺縺セ縺励◆縲
縺励°縺励、pache v2.2.12縲^penSSL v0.9.8j莉・髯阪〒蛻ゥ逕ィ蜿ッ閭ス縺ェ縲郡NI (Server Name Indication)縲阪→蜻シ縺ー繧後k謚陦薙r菴ソ縺縺薙→縺ァ縲1IP荳翫〒隍謨ー縺ョ繧オ繝シ繝舌シ險シ譏取嶌繧貞茜逕ィ縺吶k縺薙→縺後〒縺阪k繧医≧縺ォ縺ェ繧翫∪縺励◆縲

SNI縺梧ュ」蟶ク縺ォ讖溯ス縺吶k縺溘a縺ォ縺ッ縲仝eb繧オ繝シ繝舌シ縺縺代〒縺ェ縺上√ヶ繝ゥ繧ヲ繧カ繧4NI縺ォ蟇セ蠢懊@縺ヲ縺縺ェ縺代l縺ー縺ェ繧翫∪縺帙s縲
荳サ隕√↑繝悶Λ繧ヲ繧カ縺ョ縺サ縺ィ繧薙←縺郡NI蟇セ蠢懈ク医∩縺ァ縺吶′縲∝商縺繝悶Λ繧ヲ繧カ縺ォ縺ッ荳驛ィ譛ェ蟇セ蠢懊ョ繧ゅョ繧ゅ≠繧翫∪縺吶りゥウ縺励¥縺ッ莉・荳九ョ繝ェ繧ケ繝医r蜿らァ縺励※縺上□縺輔>縲

Apache縺ァSNI繧定ィュ螳壹☆繧

Apache縺ァSNI繧定ィュ螳壹☆繧九◆繧√↓縺ッ縲∝渕譛ャ縺ィ縺ェ繧帰pache縺ク縺ョSSL繧オ繝シ繝占ィシ譏取嶌縺ョ繧、繝ウ繧ケ繝医シ繝ォ譁ケ豕輔r逅隗」縺励※縺繧句ソ隕√′縺ゅj縺セ縺吶
隧ウ邏ー縺ッ莉・荳九ョ繝壹シ繧ク繧偵#遒コ隱阪¥縺縺輔>縲

SNI縺ァ2縺、逶ョ莉・髯阪↓霑ス蜉縺吶k繧オ繝シ繝舌シ險シ譏取嶌繧貞茜逕ィ蜿ッ閭ス縺ォ縺吶k縺溘a縺ォ縺ッ縲∬ソス蜉縺ョ繧オ繝シ繝舌シ險シ譏取嶌繧貞茜逕ィ縺吶kVirtual Host險ュ螳壹rApache縺ョ .conf繝輔ぃ繧、繝ォ縺ォ霑ス蜉縺吶k蠢隕√′縺ゅj縺セ縺吶

霑ス蜉縺吶∋縺阪ヵ繧。繧、繝ォ縺ッ httpd.conf, ssl.conf, httpd-ssl.conf, virtual-host.conf 遲臥腸蠅縺ォ繧医▲縺ヲ逡ー縺ェ繧翫∪縺吶
迴セ蝨ィ縺ョVirtual Host險ュ螳壹r縺ゥ縺ョ繝輔ぃ繧、繝ォ縺ァ陦後▲縺ヲ縺繧九°繧堤「コ隱阪@縲∬ィュ螳壹ヵ繧。繧、繝ォ繧呈アコ螳壹@縺ヲ縺上□縺輔>縲

譁ー縺溘↓my_other_site.conf縺ョ繧医≧縺ェ蜷咲ァー縺ョ繝輔ぃ繧、繝ォ繧剃ス懈舌@縲√◎縺薙〒Virtual Host險ュ螳壹r陦後≧縺薙→繧ゅ〒縺阪∪縺吶ゅ◎縺ョ蝣エ蜷医ッ譌「蟄倥ョhttpd.conf繝輔ぃ繧、繝ォ縺ォ谺。縺ョ陦後r霑ス蜉縺励∪縺吶

Include my_other_site.conf

Virtual Host險ュ螳壹ッ <VirtualHost *:443> 縺ァ蟋九a縺セ縺吶
縺薙l縺ッ縲√後☆縺ケ縺ヲ縺ョIP縺ョ443逡ェ繝昴シ繝医↓縺、縺縺ヲ縺ョVirtualHost謖螳壹〒縺吶阪→縺縺螳」險縺ァ縺吶IP繧堤音螳壹☆繧区欠螳壹d縲443莉・螟悶ョ繝昴シ繝医r謖螳壹☆繧九%縺ィ繧ゅ〒縺阪∪縺吶

莉・荳九ョ www.yoursite.com縲『ww.yoursite2.com 縺ョ萓九ョ繧医≧縺ォ縲√◎繧後◇繧後ョVirtualHost繝悶Ο繝繧ッ蜀縺ァ ServerName繧呈欠螳壹@縲ヾSLCertificateFile縲ヾSLCertificateKeyFile縲ヾSLCertificateChainFile縺ァ縺昴l縺槭l縺ョ險シ譏取嶌繝輔ぃ繧、繝ォ縺ョ菴咲スョ繧呈欠縺励∪縺吶

NameVirtualHost *:443

<VirtualHost *:443>
ServerName www.yoursite.com
DocumentRoot /var/www/site
SSLEngine on
SSLCertificateFile /path/to/www_yoursite_com.crt
SSLCertificateKeyFile /path/to/www_yoursite_com.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
</VirtualHost>

<VirtualHost *:443>
ServerName www.yoursite2.com
DocumentRoot /var/www/site2
SSLEngine on
SSLCertificateFile /path/to/www_yoursite2_com.crt
SSLCertificateKeyFile /path/to/www_yoursite2_com.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
</VirtualHost>

.conf繝輔ぃ繧、繝ォ繧剃ソ晏ュ倥@縺溘i縲、pache繧貞崎オキ蜍輔@縺ヲ縺上□縺輔>縲
豁」縺励¥蜀崎オキ蜍輔〒縺阪↑縺繝サ險シ譏取嶌繧ィ繝ゥ繝シ縺檎匱逕溘☆繧句エ蜷医ッ縲∽サ・荳九ョ繝壹シ繧ク繧貞盾辣ァ縺励※縺上□縺輔>縲

SNI縺ァ縺ッ縲∝茜逕ィ縺吶k險シ譏取嶌謨ー縺ョ蛻カ髯舌ッ縺ゅj縺セ縺帙s縲ょソ隕∝VirtualHost謖螳壹r霑ス蜉縺ァ縺阪∪縺吶

Add comment


Articles by Date

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email