httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milktoast <>
Subject Re: [users@httpd] multiple SSL certs on one server behind a NAT router
Date Fri, 15 Sep 2006 02:30:55 GMT

Hi, me again.

OK, I got my 2 external IPs and 2 internal IPs

I also have 2 certs.

Now when I edit httpd.conf and chnage the _default_:443 to
and copy that secton and paste it and modify the IP, root path and cert path
I get this and apach will not start with ssl

[Thu Sep 14 21:00:18 2006] [error] mod_ssl: Init: Unable to read server
ate from file /etc/ssl.https/ (OpenSSL library
error fo
[Thu Sep 14 21:00:18 2006] [error] OpenSSL: error:0D0680A8:asn1 encoding
s:ASN1_CHECK_TLEN:wrong tag
[Thu Sep 14 21:00:18 2006] [error] OpenSSL: error:0D07803A:asn1 encoding
s:ASN1_ITEM_EX_D2I:nested asn1 error

I want to my cert authority and comfirmed my csr file and it is correct.

Any ideas what is happening?

Serge Dubrouski wrote:
> That's possible. You have to have 2 VirtualHoosts in your httpd.conf
> (or ssl.conf, or vhosts.conf whatever you prefer), one per each IP
> (<VirtualHost IP:443>). Do not enable NameVirtualHosts for them. Place
> SSLCertificateFile and SSLCertificateKeyFile directives inside your
> VirtualHosts. Remove "default" section.
> Then it should work.
> On 9/12/06, milktoast <> wrote:
View this message in context:
Sent from the Apache HTTP Server - Users forum at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message