Top-Themen

AppleEntwicklungHardwareInternetLinuxMicrosoftMultimediaNetzwerkeOff TopicSicherheitSonstige SystemeVirtualisierungWeiterbildungZusammenarbeit

Aktuelle Themen

Administrator.de FeedbackApache ServerAppleAssemblerAudioAusbildungAuslandBackupBasicBatch & ShellBenchmarksBibliotheken & ToolkitsBlogsCloud-DiensteClusterCMSCPU, RAM, MainboardsCSSC und C++DatenbankenDatenschutzDebianDigitiales FernsehenDNSDrucker und ScannerDSL, VDSLE-BooksE-BusinessE-MailEntwicklungErkennung und -AbwehrExchange ServerFestplatten, SSD, RaidFirewallFlatratesGoogle AndroidGrafikGrafikkarten & MonitoreGroupwareHardwareHosting & HousingHTMLHumor (lol)Hyper-VIconsIDE & EditorenInformationsdiensteInstallationInstant MessagingInternetInternet DomäneniOSISDN & AnaloganschlüsseiTunesJavaJavaScriptKiXtartKVMLAN, WAN, WirelessLinuxLinux DesktopLinux NetzwerkLinux ToolsLinux UserverwaltungLizenzierungMac OS XMicrosoftMicrosoft OfficeMikroTik RouterOSMonitoringMultimediaMultimedia & ZubehörNetzwerkeNetzwerkgrundlagenNetzwerkmanagementNetzwerkprotokolleNotebook & ZubehörNovell NetwareOff TopicOpenOffice, LibreOfficeOutlook & MailPapierkorbPascal und DelphiPeripheriegerätePerlPHPPythonRechtliche FragenRedHat, CentOS, FedoraRouter & RoutingSambaSAN, NAS, DASSchriftartenSchulung & TrainingSEOServerServer-HardwareSicherheitSicherheits-ToolsSicherheitsgrundlagenSolarisSonstige SystemeSoziale NetzwerkeSpeicherkartenStudentenjobs & PraktikumSuche ProjektpartnerSuseSwitche und HubsTipps & TricksTK-Netze & GeräteUbuntuUMTS, EDGE & GPRSUtilitiesVB for ApplicationsVerschlüsselung & ZertifikateVideo & StreamingViren und TrojanerVirtualisierungVisual StudioVmwareVoice over IPWebbrowserWebentwicklungWeiterbildungWindows 7Windows 8Windows 10Windows InstallationWindows MobileWindows NetzwerkWindows ServerWindows SystemdateienWindows ToolsWindows UpdateWindows UserverwaltungWindows VistaWindows XPXenserverXMLZusammenarbeit
GELÖST

Apache Tomcat Connector mit SSL funktioniert nicht

Frage Linux Apache Server

Mitglied: magier86

magier86 (Level 1) - Jetzt verbinden

21.06.2010 um 14:45 Uhr, 5066 Aufrufe, 1 Kommentar

Hallo zusammen,

ich versuche schon seit Tagen den Apache Tomcat Connector mit SSL Verschlüsselung ans laufen zu bringen. Der Apache leitet auf Port 80 die Anfragen wie gewünscht an den Tomcat weiter allerdings bei dem Port 443 macht er das nicht.

Wenn ich den Link https://ibs001>.de im Browser eingebe, lande ich nur auf die Standardseite vom Apache "It works".
Gebe ich den Link
http://ibs001>*.de im Browser ein, lande ich beim Tomcat (so soll es auch sein).


Hier ein paar Daten:

- Server Linux Debian Lenny 64 Bit
- Tomcat Version 6
- Apache2 Version 2.2.9 64Bit
- Apache Tomcat Connector Modul ==> mod_jk-1.2.28-httpd-2.2.X.so
- OpenSSL 64Bit ==> mod_ssl.so


Hier ist die httpd.conf

01.
LoadModule jk_module /usr/lib/apache2/modules/mod_jk-1.2.28-httpd-2.2.X.so 
02.
#LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so 
03.
JkShmFile /var/log/apache2/jk-runtime-status 
04.
 
05.
 
06.
<ifmodule mod_jk.c> 
07.
  JkWorkersFile /etc/apache2/workers.properties 
08.
  JkLogFile /var/log/apache2/mod_jk.log 
09.
  JkLogLevel info 
10.
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" 
11.
  JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories 
12.
  JkRequestLogFormat "%w %V %T" 
13.
  JkMount /* worker1 
14.
</IfModule> 
15.
<IfModule !mpm_netware_module> 
16.
 
17.
<VirtualHost _default_:443> 
18.
ServerName ibs001*****.de:443 
19.
 
20.
        DocumentRoot /etc/apache2/htdocs 
21.
        <Directory /> 
22.
                Options FollowSymLinks  
23.
                AllowOverride None 
24.
        </Directory> 
25.
        <Directory /etc/apache2/htdocs/> 
26.
                Options Indexes FollowSymLinks MultiViews 
27.
                AllowOverride all 
28.
                Order allow,deny 
29.
                Allow from all 
30.
        </Directory> 
31.
        ErrorLog /var/log/apache2/error.log 
32.
        LogLevel warn 
33.
 
34.
 ServerName ibs001*****.de 
35.
 SSLEngine On 
36.
 SSLCertificateFile    /etc/ssl/certs/ibs001******.crt 
37.
 SSLCertificateKeyFile /etc/ssl/private/ibs001******.key 
38.
 SSLCertificateChainFile /etc/ssl/certs/ibs001*****.ca-bundle 
39.
 CustomLog /var/log/apache2/access.log combined 
40.
 ServerSignature On 
41.
</VirtualHost>

Und hier die apache2.conf

01.
# ServerRoot: The top of the directory tree under which the server's 
02.
# configuration, error, and log files are kept. 
03.
04.
# NOTE!  If you intend to place this on an NFS (or otherwise network) 
05.
# mounted filesystem then please read the LockFile documentation (available 
06.
# at <URL:http://httpd.apache.org/docs-2.1/mod/mpm_common.html#lockfile>); 
07.
# you will save yourself a lot of trouble. 
08.
09.
# Do NOT add a slash at the end of the directory path. 
10.
11.
ServerRoot "/etc/apache2" 
12.
ServerName localhost 
13.
14.
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK. 
15.
16.
#<IfModule !mpm_winnt.c> 
17.
#<IfModule !mpm_netware.c> 
18.
LockFile /var/lock/apache2/accept.lock 
19.
#</IfModule> 
20.
#</IfModule> 
21.
 
22.
23.
# PidFile: The file in which the server should record its process 
24.
# identification number when it starts. 
25.
# This needs to be set in /etc/apache2/envvars 
26.
27.
PidFile ${APACHE_PID_FILE} 
28.
 
29.
30.
# Timeout: The number of seconds before receives and sends time out. 
31.
32.
Timeout 300 
33.
 
34.
35.
# KeepAlive: Whether or not to allow persistent connections (more than 
36.
# one request per connection). Set to "Off" to deactivate. 
37.
38.
KeepAlive On 
39.
40.
# MaxKeepAliveRequests: The maximum number of requests to allow 
41.
# during a persistent connection. Set to 0 to allow an unlimited amount. 
42.
# We recommend you leave this number high, for maximum performance. 
43.
44.
MaxKeepAliveRequests 100 
45.
 
46.
47.
# KeepAliveTimeout: Number of seconds to wait for the next request from the 
48.
# same client on the same connection. 
49.
50.
KeepAliveTimeout 15 
51.
 
52.
## 
53.
## Server-Pool Size Regulation (MPM specific) 
54.
##  
55.
 
56.
# prefork MPM 
57.
# StartServers: number of server processes to start 
58.
# MinSpareServers: minimum number of server processes which are kept spare 
59.
# MaxSpareServers: maximum number of server processes which are kept spare 
60.
# MaxClients: maximum number of server processes allowed to start 
61.
# MaxRequestsPerChild: maximum number of requests a server process serves 
62.
<IfModule mpm_prefork_module> 
63.
    StartServers          5 
64.
    MinSpareServers       5 
65.
    MaxSpareServers      10 
66.
    MaxClients          150 
67.
    MaxRequestsPerChild   0 
68.
</IfModule> 
69.
 
70.
# worker MPM 
71.
# StartServers: initial number of server processes to start 
72.
# MaxClients: maximum number of simultaneous client connections 
73.
# MinSpareThreads: minimum number of worker threads which are kept spare 
74.
# MaxSpareThreads: maximum number of worker threads which are kept spare 
75.
# ThreadsPerChild: constant number of worker threads in each server process 
76.
# MaxRequestsPerChild: maximum number of requests a server process serves 
77.
<IfModule mpm_worker_module> 
78.
    StartServers          2 
79.
    MaxClients          150 
80.
    MinSpareThreads      25 
81.
    MaxSpareThreads      75  
82.
    ThreadsPerChild      25 
83.
    MaxRequestsPerChild   0 
84.
</IfModule> 
85.
 
86.
# These need to be set in /etc/apache2/envvars 
87.
User ${APACHE_RUN_USER} 
88.
Group ${APACHE_RUN_GROUP} 
89.
 
90.
91.
# AccessFileName: The name of the file to look for in each directory 
92.
# for additional configuration directives.  See also the AllowOverride 
93.
# directive. 
94.
95.
 
96.
AccessFileName .htaccess 
97.
 
98.
99.
# The following lines prevent .htaccess and .htpasswd files from being  
100.
# viewed by Web clients.  
101.
102.
<Files ~ "^\.ht"> 
103.
    Order allow,deny 
104.
    Deny from all 
105.
</Files> 
106.
 
107.
108.
# DefaultType is the default MIME type the server will use for a document 
109.
# if it cannot otherwise determine one, such as from filename extensions. 
110.
# If your server contains mostly text or HTML documents, "text/plain" is 
111.
# a good value.  If most of your content is binary, such as applications 
112.
# or images, you may want to use "application/octet-stream" instead to 
113.
# keep browsers from trying to display binary files as though they are 
114.
# text. 
115.
116.
DefaultType text/plain 
117.
 
118.
 
119.
120.
# HostnameLookups: Log the names of clients or just their IP addresses 
121.
# e.g., www.apache.org (on) or 204.62.129.132 (off). 
122.
# The default is off because it'd be overall better for the net if people 
123.
# had to knowingly turn this feature on, since enabling it means that 
124.
# each client request will result in AT LEAST one lookup request to the 
125.
# nameserver. 
126.
127.
HostnameLookups Off 
128.
 
129.
# ErrorLog: The location of the error log file. 
130.
# If you do not specify an ErrorLog directive within a <VirtualHost> 
131.
# container, error messages relating to that virtual host will be 
132.
# logged here.  If you *do* define an error logfile for a <VirtualHost> 
133.
# container, that host's errors will be logged there and not here. 
134.
135.
ErrorLog /var/log/apache2/error.log 
136.
 
137.
138.
# LogLevel: Control the number of messages logged to the error_log. 
139.
# Possible values include: debug, info, notice, warn, error, crit, 
140.
# alert, emerg. 
141.
142.
LogLevel warn 
143.
 
144.
# Include module configuration: 
145.
Include /etc/apache2/mods-enabled/*.load 
146.
Include /etc/apache2/mods-enabled/*.conf 
147.
 
148.
# Include all the user configurations: 
149.
Include /etc/apache2/httpd.conf 
150.
 
151.
# Include ports listing 
152.
Include /etc/apache2/ports.conf 
153.
 
154.
155.
# The following directives define some format nicknames for use with 
156.
# a CustomLog directive (see below). 
157.
# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i 
158.
159.
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined 
160.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 
161.
LogFormat "%h %l %u %t \"%r\" %>s %b" common 
162.
LogFormat "%{Referer}i -> %U" referer 
163.
LogFormat "%{User-agent}i" agent 
164.
 
165.
166.
# Define an access log for VirtualHosts that don't define their own logfile 
167.
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined 
168.
 
169.
170.
# Customizable error responses come in three flavors: 
171.
# 1) plain text 2) local redirects 3) external redirects 
172.
173.
# Some examples: 
174.
#ErrorDocument 500 "The server made a boo boo." 
175.
#ErrorDocument 404 /missing.html 
176.
#ErrorDocument 404 "/cgi-bin/missing_handler.pl" 
177.
#ErrorDocument 402 http://www.example.com/subscription_info.html 
178.
179.
 
180.
181.
# Putting this all together, we can internationalize error responses. 
182.
183.
# We use Alias to redirect any /error/HTTP_<error>.html.var response to 
184.
# our collection of by-error message multi-language collections.  We use  
185.
# includes to substitute the appropriate text. 
186.
187.
# You can modify the messages' appearance without changing any of the 
188.
# default HTTP_<error>.html.var files by adding the line: 
189.
190.
#   Alias /error/include/ "/your/include/path/" 
191.
192.
# which allows you to create your own set of files by starting with the 
193.
# /usr/share/apache2/error/include/ files and copying them to /your/include/path/,  
194.
# even on a per-VirtualHost basis.  The default include files will display 
195.
# your Apache version number and your ServerAdmin email address regardless 
196.
# of the setting of ServerSignature. 
197.
198.
# The internationalized error documents require mod_alias, mod_include 
199.
# and mod_negotiation.  To activate them, uncomment the following 30 lines. 
200.
 
201.
#    Alias /error/ "/usr/share/apache2/error/" 
202.
203.
#    <Directory "/usr/share/apache2/error"> 
204.
#        AllowOverride None 
205.
#        Options IncludesNoExec 
206.
#        AddOutputFilter Includes html 
207.
#        AddHandler type-map var 
208.
#        Order allow,deny 
209.
#        Allow from all 
210.
#        LanguagePriority en cs de es fr it nl sv pt-br ro 
211.
#        ForceLanguagePriority Prefer Fallback 
212.
#    </Directory> 
213.
214.
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var 
215.
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var 
216.
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var 
217.
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var 
218.
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var 
219.
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var 
220.
#    ErrorDocument 410 /error/HTTP_GONE.html.var 
221.
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var 
222.
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var 
223.
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var 
224.
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var 
225.
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var 
226.
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var 
227.
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var 
228.
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var 
229.
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var 
230.
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var 
231.
 
232.
 
233.
 
234.
# Include of directories ignores editors' and dpkg's backup files, 
235.
# see README.Debian for details. 
236.
 
237.
# Include generic snippets of statements 
238.
Include /etc/apache2/conf.d/ 
239.
 
240.
# Include the virtual host configurations: 
241.
Include /etc/apache2/sites-enabled/
Hoffentlich kann mir einer helfen

Vielen Dank schon mal im Voraus

Schöne Grüße
magier86
Mitglied: magier86
22.06.2010 um 14:37 Uhr
Wow nach Tagen habe ich das Problem selbst lösen können

In der httpd.conf fehlte der Eintrag "JKMountCopy On"


Schöne Grüße
magier86
Bitte warten ..
Neuester Wissensbeitrag
Ähnliche Inhalte
Windows Server
Zugriff auf IIS und Apache Tomcat Anwendung übers Internet (3)

Frage von horstvogel zum Thema Windows Server ...

Apache Server
APache Weiterleitung SSL über VHOST (7)

Frage von Paster zum Thema Apache Server ...

Router & Routing
Transparenter Proxy funktioniert nicht? (1)

Frage von mrserious73 zum Thema Router & Routing ...

Heiß diskutierte Inhalte
Windows Userverwaltung
Ausgeschiedene Mitarbeiter im Unternehmen - was tun mit den AD Konten? (33)

Frage von patz223 zum Thema Windows Userverwaltung ...

LAN, WAN, Wireless
FritzBox, zwei Server, verschiedene Netze (21)

Frage von DavidGl zum Thema LAN, WAN, Wireless ...

Viren und Trojaner
Aufgepasst: Neue Ransomware Goldeneye verbreitet sich rasant (20)

Link von Penny.Cilin zum Thema Viren und Trojaner ...