Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to configure Apache for multipl 1

Status
Not open for further replies.

SirCharles

Programmer
Jun 10, 2002
212
US
How to configure Apache for multiple SSL sites each with its own certificate? Can this be done with one httpd.conf file? When you start up Apache, it asks for a pass phrase. What if you have more that one SSL site in the config file?
 
The number of config files does not matter in the least. Put the SSL configuration directives inside the <VirtualHost...></VirtualHost> tags.

When you generate your Apache certs, you don't have to password protect them. When you issue the command:

openssl genrsa -des3 1024 > yoursite.key

leave out the &quot;-des3&quot; part. Apache will not require a password to use your cert.

If you have multiple Apache certs requiring passwords, the passwords, I believe, need to be given to Apache in the order that the certs appear in your httpd.conf file.

Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top