Can I share a wild-card SSL cert * between two or several website?

I have set up several virtual hosts on a development server. My developer wants me to set up SSL for two of 8 instances. Since I have a * certificate. Would I set it up to be used between those two instances/websites?

I got the ssl configuration file under /etc/httpd/conf.d/ssl.conf, the related section is as below:

<VirtualHost *:443>

# General setup for the virtual host, inherited from global configuration
    DocumentRoot "/var/www/lac2014/html"


    ServerAlias devw 
    <Directory "/var/www/lac2014/html">
      AllowOverride All

# Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf.
    ErrorLog logs/ssl_error_log
    TransferLog logs/ssl_access_log
    LogLevel warn

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
    SSLEngine on

#   SSL Protocol support:
# List the enable protocol levels with which clients will be able to
# connect.  Disable SSLv2 access by default:
    SSLProtocol all -SSLv2 -SSLv3

#   SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.

#   Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate.  If
# the certificate is encrypted, then you will be prompted for a
# pass phrase.  Note that a kill -HUP will prompt again.  A new
# certificate can be generated using the genkey(1) command.
#SSLCertificateFile /etc/pki/tls/certs/localhost.crt
    SSLCertificateFile /var/www/keys/

Open in new window

Jason YuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
Wildcard certs are sold per server and it covers all websites hosted on the server.  If your cert is for * then it will cover all sites that ends with  One thing to note is that it will not work for something like and will work for

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jason YuAuthor Commented:
got it, I finished it. I created two seperated Virtual hosts and refer to the same key file in the virutal host, it's working now.
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
I am glad it is working.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.