RE: Ref : RE: Ref : RE: SSL by Domain Name Error

2007-06-19 Thread Rob Archer
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

Ref : RE: Ref : RE: Ref : RE: SSL by Domain Name Error

2007-06-19 Thread abel . nivault
What is the message in apache error log file ?


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




Rob Archer [EMAIL PROTECTED]
Envoyé par : [EMAIL PROTECTED]
19/06/2007 11:05
Veuillez répondre à modssl-users

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


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

RE: Ref : RE: Ref : RE: Ref : RE: SSL by Domain Name Error

2007-06-19 Thread Rob Archer
I can't find an error in the error.log, access.log or ssl.log files.

In the access.log file it logs :-

When accessing the web site via http and the ip address 

0.0.0.0 - - [19/Jun/2007:10:27:04 +0100] GET / HTTP/1.1 304 -

When accessing the web site via https and the ip address 

0.0.0.0 - - [19/Jun/2007:10:28:12 +0100] GET / HTTP/1.1 200 44
0.0.0.0 - - [19/Jun/2007:10:28:12 +0100] GET /favicon.ico HTTP/1.1 404 209

When accessing the web site via http and the domain name

0.0.0.0 - - [19/Jun/2007:10:28:39 +0100] GET / HTTP/1.1 304 -


No entry for https and domain name in the access.log and a Internet Explorer 
cannot display the webpage in ie when trying to get to the server.


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


What is the message in apache error log file ?


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




Rob Archer [EMAIL PROTECTED]
Envoyé par : [EMAIL PROTECTED]
19/06/2007 11:05
Veuillez répondre à modssl-users

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


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

Re: Ref : RE: Ref : RE: Ref : RE: SSL by Domain Name Error

2007-06-19 Thread Omar W. Hannet

Rob Archer wrote:


No entry for https and domain name in the access.log and a Internet Explorer cannot 
display the webpage in ie when trying to get to the server.


Do you have access to the openssl command line program?
It would tell you whether you are making a connection, and
possibly shed some light on the problem.  Like this:

openssl s_client -connect www.mydomain.com:443 -debug
GET /

--
Omar W. Hannet
http://www.allez-oop.net/
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]