Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2004
    Posts
    258

    SSL Certificate for virtual host

    I have a SSL certificate I need to install for a website. The website is running on Apache 2 with name based virtual host. How would I install this cert in that setup? Its just for one of the name based host, not for all sites.

    Thanks
    Silly

  2. #2
    Are you running a control panel on this server?

  3. #3
    for ssl, afaik you must have ip-based virtual host (only for https site, many http websites can use same ip using name-based virtual), and then just add the declarations below

    so your virtualhost section should look like:

    <VirtualHost 10.10.10.10:443>
    ...
    SSLEnable
    SSLCertificateFile /path/to/the.crt
    SSLCertificateKeyFile /path/to/the.key
    SSLLogFile /path/to/the.log
    ...
    </VirtualHost>
    __________________
    SkiingYAC Custom Solutions http://www.skiingyac.com
    system administration, development, design, & hosting

  4. #4
    Originally posted by skiingyac
    for ssl, afaik you must have ip-based virtual host (only for https site, many http websites can use same ip using name-based virtual)
    That is correct, if the SSL is for 1 site only, it has to be setup on its own IP.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •