What's the result when you set ServerName to your domain
name within the virtual host?:


ServerName example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key


Rob Archer wrote:
> Thanks for the response, I'm using the following in the httpd.conf
> file:-
>
>
> SSLMutex default
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> SSLSessionCache none
> ErrorLog logs/ssl.log
> LogLevel info
>

>
>
> SSLEngine On
> SSLCertificateFile conf/ssl/server.crt
> SSLCertificateKeyFile conf/ssl/server.key
>

>
>
> -----Original Message-----
> From: owner-modssl-users@modssl.org
> [mailtowner-modssl-users@modssl.org] On Behalf Of Omar W. Hannet
> Sent: 18 June 2007 16:13
> To: modssl-users@modssl.org
> Subject: Re: SSL by Domain Name Error
>
>
> Rob Archer wrote:
>> Anybody have any suggestions ?

>
>> Have created the key through open ssl and configured apache (using
>> http://raibledesigns.com/wiki/Wiki.jsp?page=ApacheSSL

> instructions) and
>> can access https via the IP address of the web server but not the
>> domain name. When trying to get the to the webserver via the

> domain
>> name through https it says internet explorer cannot display this

> web
>> page. Using the normal http protocol I can get the "It Works" page
>> through both IP address and domain name.
>>
>> Have tried to get around this by fiddling about with the virtual
>> hosts settings but haven't found any solution. Can anyone help !!!

>
> You might try adding a NameVirtualHost directive:
>
> NameVirtualHost 1.2.3.4:443
>
> (Your own IP address in place of '1.2.3.4'.)
>
> If that doesn't help, please show us the block for this
> domain in your current Apache configuration.

__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org