Apache implements SSL authentication for multi-domain virtual host

Source: Internet
Author: User
Tags builtin

The #/etc/httpd/conf.d/ssl.conf configuration is as follows:


LoadModule Ssl_module modules/mod_ssl.so

Listen 443

Namevirtualhost 109.109.109.109:443

AddType Application/x-x509-ca-cert. CRT

AddType application/x-pkcs7-crl. CRL

Sslpassphrasedialog Builtin

Sslsessioncache Shmcb:/var/cache/mod_ssl/scache (512000)

Sslsessioncachetimeout 300

Sslmutex Default

Sslrandomseed Startup File:/dev/urandom 256

Sslrandomseed Connect Builtin

Sslcryptodevice Builtin


#/etc/httpd/conf.d/a.conf

<virtualhost 109.109.109.109:443>

#其他内容

ServerName a.com

#其他内容

</VirtualHost>


#/etc/httpd/conf.d/b.conf

<virtualhost 109.109.109.109:443>

#其他内容

ServerName B.Com

#其他内容

</VirtualHost>


#/etc/httpd/conf.d/c.conf

<virtualhost 109.109.109.129:443>

#其他内容

ServerName c.com

#其他内容

</VirtualHost>


Note: 109.109.109.129 This address is alias address [eth0:1 Settings]

This article is from the "wosec" blog, make sure to keep this source http://pathyon.blog.51cto.com/9465112/1747053

Apache implements SSL authentication for multi-domain virtual host

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.