<VirtualHost 1.2.3.4:443>
ServerName example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
</VirtualHost>

This is exactly how I've got it set up and unfortunately I can't use SSL 
through my domain name (https://www.mydomain.com) but can access it via my ip 
address (https://1.2.3.4).


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 19 June 2007 09:53
To: modssl-users@modssl.org
Subject: Ref : RE: Ref : RE: SSL by Domain Name Error


No, you speak here about the url to access your web server. 
What I ment is : when you configure your virtual host in httpd.conf, if 
you want it to run in https mod, you have to set up the virtual host 
directive with an IP an not with a host name:

<VirtualHost 1.2.3.4:443>
ServerName example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
</VirtualHost>

will work

<VirtualHost hostname:443>
ServerName example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
</VirtualHost>

will not

Abel NIVAULT
Inspecteur PSE- PSN-CT - CSI LYON [EMAIL PROTECTED]




"Rob Archer" <[EMAIL PROTECTED]>
Envoyé par : [EMAIL PROTECTED]
19/06/2007 10:08
Veuillez répondre à modssl-users

 
        Pour :  <modssl-users@modssl.org>
        cc : 
        Objet : RE: Ref : RE: SSL by Domain Name Error


I read this on other posts, so does that mean I'll never be able to 
configure my apache set up to be accessed like this :-

https:\\www.mydomain.com


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of [EMAIL PROTECTED]
Sent: 19 June 2007 08:47
To: modssl-users@modssl.org
Cc: modssl-users@modssl.org; [EMAIL PROTECTED]
Subject: Ref : RE: SSL by Domain Name Error


Virutal host name based doesn't work with ssl mod
you must configure ssl with ip based virtual hosts


Abel NIVAULT
Inspecteur PSE- PSN-CT - CSI LYON [EMAIL PROTECTED]




"Rob Archer" <[EMAIL PROTECTED]>
Envoyé par : [EMAIL PROTECTED]
18/06/2007 18:30
Veuillez répondre à modssl-users

 
        Pour :  <modssl-users@modssl.org>
        cc : 
        Objet : RE: SSL by Domain Name Error


Unfortunately exactly the same, I've even put the domain name as the 
virtual host and it behaves the same !!!

(i.e <VirtualHost www.mydomain.com:443>)

I was thinking that the way the web server is set up is by "web 
forwarding", where the holders of our domain name forward requests onto 
the ip address of our web server. This works for http, could it be 
possible that something needs configuring at the company that holds our 
domain name (easily.co.uk) to forward on https requests, or is that a real 
long shot ?



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Omar W. Hannet
Sent: 18 June 2007 17:06
To: modssl-users@modssl.org
Subject: Re: SSL by Domain Name Error


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

<VirtualHost 1.2.3.4:443>
ServerName example.com
SSLEngine On
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
</VirtualHost>

Rob Archer wrote:
> Thanks for the response, I'm using the following in the httpd.conf
> file:-
> 
> <IfModule ssl_module>
> SSLMutex default
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> SSLSessionCache none
> ErrorLog logs/ssl.log
> LogLevel info
> </IfModule>
> 
> <VirtualHost 1.2.3.4:443>
> SSLEngine On
> SSLCertificateFile conf/ssl/server.crt
> SSLCertificateKeyFile conf/ssl/server.key
> </VirtualHost>
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 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 <VirtualHost> 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                            [EMAIL PROTECTED]


 Click
https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==
1zjrSD8hWEe96repmpaOSdLMvmLORniQDfYJTSjBfD!nkU9R0u8dlLFoNT85Zo6jf9yegQzk
pg9iGvxGJKsNeMk8vpdiUWF8qBDGGfaGgdaAcnXV!xUKnI0XzkSD3mUR0s5mD0+fIpcaD4yO
5vBMHXJE1FQ0bouh7TVke8vo28dsfWWo4QK!9LC  to report this email as spam. 
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to