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!

IP-based VHosts and SSL

Status
Not open for further replies.

SchrodingerCat

Programmer
Dec 27, 2002
2
PL
Hello !
I have a problem: I'm trying to setup an Apache Server 2.0.43. I want 3 IP-based Virtual hosts, but 2 of them must support SSL. For example:
192.168.1.6 - hints.bikini (SSL)
192.168.1.7 - net.bikini (SSL)
192.168.1.8 - freetime.bikini
Both have its own certificate and private key.
When the one of these (f.e.192.168.1.6) is defined there is no problem: Apache asks me for phrase when it starts.
But when I defined two servers httpd is not running. Syntax is OK and Apache asks me for phrase for each of servers and then A. seemingly starts. Seemingly - because there is no httpd.pid and Apache doesn't work. So, Can more than one SSL VHost support SSL? What should I do to get 2 IP-based virtual hosts supporting SSL? HELP ME, PLEASE!!!
 
This case is weird. Errorlog is clear for Vhost which configuration is parsed in the first place. But ErrorLog for the next in order Vhost is a little strange. Hera are examples:
Unable to configure verify locations for client authentication.
SSL Library Error: 218644585 error.
asn1 encodin routines: s21_ASN1_SET: bad tag.
PEM routines: PEM_read_bio: no start line Bad file contents of format - or even just a forgotten SSLCertificateKeyFile
x509 certificate routines: x509_load_crl_file: missing asn1 eos.
The thing which is amazing for myself is that there are no errors for the first in order VHost and when I have only one VHost. This makes me crazy. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top