Confixx SSL probleme :(

pas

Registered User
Hallo,
ich will SSL bei einem webXXX laufen lassen leider funktioniert das nicht habe folgendes gemacht:
Habe die weitere IP einem Res zugewiesen der die IP den webXXX zugewiesen hat, unter SSL habe ich erfolgreich dem Kunden SSL aktiviert mit crt und key. Unter Confixx sollte anscheinend alles laufen leider funktioniert es nicht, habe apache Neugestartet und bekomme die meldung:
Code:
Server:/ # rcapache2 restart
[Sun Apr 09 11:44:11 2006] [warn] NameVirtualHost [IP:-D]:443 has no VirtualHosts
[Sun Apr 09 11:44:11 2006] [warn] NameVirtualHost [IP:-D]:443 has no VirtualHosts
Syntax OK
Shutting down httpd2 (waiting for all children to terminate)                                                       done
Starting httpd2 (prefork) [Sun Apr 09 11:44:11 2006] [warn] NameVirtualHost [IP:-D]:443 has no VirtualHosts
[Sun Apr 09 11:44:11 2006] [warn] NameVirtualHost [IP:-D]:443 has no VirtualHosts

Wieso funktioniert es nicht???

Danke !
 
Hm, also in deiner zitierten Meldung kann ich keine Fehlermeldung sehen.
"[warn] NameVirtualHost [IP:-D]:443 has no VirtualHosts" bedeutet nur, dass mehrmals 'NameVirtualHost' definiert wurde.
 
Pro Cert 1 IP.

Evtl. hat dein Confixx schon das 1 mögliche Cert pro IP.

In diesem Fall geht es nur wenn in der confixx_mhost.conf den SSL VHOST von Confixx rausnimmst und dir da einen exclusiven Vhost für dein webxx mit allen anderen Einstellungen erstellst.

So löse ich das Problemchen bei Confixx mit 1 IP :cool:
 
Ich habe 2 IP`s die zweite IP ist nur den webXXX zugewiesen, daher ist diese Lösung leider nicht für mich :(
Und wie kann ich den doppelten Eintrag finden?

Danke!
 
Last edited by a moderator:
also es kommt einfach die seite kann nicht angezeigt werden > IE
b.z.w. seite nicht gefunden also nicht erreichbar wie als würde man www.domasdasdasdasdain.sadfasdfasd aufrufen
Es funktioniert einfach das https nicht es kommt keine Seite sondern das, als gäbe es nicht die seite
 
Hallo!
Wenn du uns jetzt noch sagst, was in diesem Moment im error_log steht, kommen wir der Sache bestimmt auf die Spur.

mfG
Thorsten
 
pas said:
also es kommt einfach die seite kann nicht angezeigt werden > IE
Wahrscheinlich kommt keine Connection zustande.
Mach mal ein 'telnet webXXX.mein.server.de 443' in der DOS-Box.
Ich wette er sagt, daß da nichts funzt.

Dir fehlt wohl die passende Listen-Directive. Such mal nach den Einträgen für Listen in der Apache-Conf und prüf ob dort 'Listen [2.IP]:443' vorkommt.

huschi.
 
Also habe jetzt Listen ip1:443 und ip2:443 eingetragen davor stand nur listen 443
jetzt kommt die warnung beim restart:

[Tue Apr 11 16:51:53 2006] [warn] NameVirtualHost ip2:443 has no VirtualHosts

leider geht es immer noch nicht....leider.....

Vielen Dank!!!!!!!! :D
 
Code:
[Tue Apr 11 16:51:53 2006] [warn] NameVirtualHost ip2:443 has no VirtualHosts
Dieser Fehler besagt nicht, dass SSL nicht funktioniert!

Ausprobiert hast du es schon im Browser?
Und hast du das mit dem telnet, was Huschi gesagt hat schon mal ausprobiert und geguckt, was er da sagt?
 
da blieb das fenster leer > ip: 80.86.80.198
ausprobiert habe ich es natürlich in verschiedenen browsern an 2 pc`s
 
Also per telnet funktioniert es. Er lauscht auf dem Port.

Es steht wirklich nichts in den Logs?
 
Leider wird die /var/log/apache2/error_log bei aufruf von https://domain.tdl nicht aktualisiert hier mal die vhost vom user
Code:
################### CONFIXX APACHE VHOSTS FILE ##########################
# created at Tue Apr 11 16:13:02 2006
#
#            !!! Do not make any changes in this file !!!
#
# 1. We cannot guarantee that the software will work properly, if
# the contents of this file are modified.
# 2. This file would be rewritten each time the Confixx software requires
# to update Apache configuration to bring user/domain settings in effect.
#
# If you need to have some custom content in this file, you can use
# "httpd special" function in the Confixx Control Panel or create
# an empty webX.lock file and edit webX.conf by the way you want in this
# case Confixx will not touch the configuration file.
#
##########################################################################

<Directory "/srv/www/htdocs/web4/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  Options +ExecCGI +Indexes
  AddHandler cgi-script .cgi .pl
  DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.php5 index.shtml index.shtm index.sht
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
  <Files ~ "\.(wml.*|wbmp)$">
    deny from all
  </Files>
</Directory>

<Directory "/srv/www/htdocs/web4/html/cgi-bin/">
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.cgihandler
    </Files>
  </IfModule>
</Directory>

NameVirtualHost 80.86.80.198:80

<VirtualHost 80.86.80.198:80>

  ServerName 80.86.80.198

  DocumentRoot /srv/www/htdocs/confixx/html/gesperrt

  Options +FollowSymLinks

  php_admin_flag safe_mode Off
  php_admin_flag file_uploads On
  php_admin_flag track_vars On
  php_admin_flag magic_quotes_runtime Off
  php_admin_flag magic_quotes_gpc Off

  php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
  php_admin_value default_charset none
  php_admin_value open_basedir /srv/www/htdocs/confixx

  <IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm index.shtml index.cgi
  </IfModule>

</VirtualHost>

NameVirtualHost 80.86.80.198:443

<VirtualHost 80.86.80.198:443>

  ServerName 80.86.80.198

  DocumentRoot /srv/www/htdocs/confixx/html/gesperrt

  Options +FollowSymLinks

  php_admin_flag safe_mode Off
  php_admin_flag file_uploads On
  php_admin_flag track_vars On
  php_admin_flag magic_quotes_runtime Off
  php_admin_flag magic_quotes_gpc Off

  php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
  php_admin_value default_charset none
  php_admin_value open_basedir /srv/www/htdocs/confixx

  <IfModule mod_dir.c>
    DirectoryIndex index.php index.html index.htm index.shtml index.cgi
  </IfModule>

  <IfDefine SSL>
    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/web4.key
    SSLCertificateFile /etc/apache2/ssl.crt/web4.crt
    SetEnvIf User-Agent ".*MSIE.*" \
      nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>
  </IfDefine>

</VirtualHost>

<VirtualHost 80.86.80.198:80>
  ServerName domain1.de
  ServerAlias www.domain1.de domain1.de www.domain1.de

  DocumentRoot /srv/www/htdocs/web4/html
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
</VirtualHost>

<VirtualHost 80.86.80.198:80>
  ServerName www.domain2.de
  ServerAlias www.domain3.de domain3.de domain2.de www.domain2.de

  DocumentRoot /srv/www/htdocs/web4/html/joomla
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost 83.133.81.53:80>
  ServerName web4.confixxdomain.de
  DocumentRoot /srv/www/htdocs/web4/html
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost 80.86.80.198:80>
  ServerName domain2.de
  DocumentRoot /srv/www/htdocs/web4/html
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>

NameVirtualHost 80.86.80.198:443
<VirtualHost 80.86.80.198:443>
  ServerName domain3.de
  DocumentRoot /srv/www/htdocs/web4/html/joomla
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
  <IfDefine SSL>
    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl.key/web4.key
    SSLCertificateFile /etc/apache2/ssl.crt/web4.crt
    SetEnvIf User-Agent ".*MSIE.*" \
      nokeepalive ssl-unclean-shutdown \
      downgrade-1.0 force-response-1.0
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>
    <Directory "/srv/www/htdocs/web4/html/cgi-bin">
      SSLOptions +StdEnvVars
    </Directory>
  </IfDefine>
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost 80.86.80.198:80>
  ServerName bestellung.domain2.de
  ServerAlias bestellung.domain3.de

  DocumentRoot /srv/www/htdocs/web4/html/bestellung
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost 80.86.80.198:80>
  ServerName error.domain2.de
  DocumentRoot /srv/www/htdocs/web4/html/1-error
  SuexecUserGroup web4 web4
  ScriptAlias /cgi-bin/ /srv/www/htdocs/web4/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /srv/www/htdocs/web4/html/:/srv/www/htdocs/web4/phptmp/:/srv/www/htdocs/web4/files/:/srv/www/htdocs/web4/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /srv/www/htdocs/web4/phptmp/
php_admin_flag safe_mode Off
<Directory "/srv/www/htdocs/web4/html">
AllowOverride All
</Directory>
</VirtualHost>
 
Es ist doch einmal für den Kunden und einmal wenn man nur die ip aufruft es eingerichtet verursacht das etwa den fehler?
 
pas said:
Leider wird die /var/log/apache2/error_log bei aufruf von https://domain.tdl nicht aktualisiert
Evtl. hast Du eine eigenen ssl_error_log?
Steht denn was im entsprechenden access_log?

Ausserdem hast Du die Zeile "NameVirtualHost 80.86.80.198:443" doppelt drin und auch zwei VirtualHosts mit SSL. Es darf natürlich nur ein SSL-Host vorhanden sein.

huschi.
 
Huschi said:
Evtl. hast Du eine eigenen ssl_error_log?
Steht denn was im entsprechenden access_log?

Ausserdem hast Du die Zeile "NameVirtualHost 80.86.80.198:443" doppelt drin und auch zwei VirtualHosts mit SSL. Es darf natürlich nur ein SSL-Host vorhanden sein.

huschi.
Eine eigene ssl error log existiert nicht, wenn ich den zweiten Name eintrag entferne ist er beim nächsten durchlauf vom confixxcounter script wieder drinnen, hatte es getestet der apache restart verlief ohne fehler nur leider ging https immer noch nicht :(
 
Back
Top