AnsweredAssumed Answered

SSL Verschlüsselung mit Alfresco 3.4

Question asked by userfrank on Nov 16, 2010
Latest reply on Nov 18, 2010 by userfrank
Hallo zusammen,
ich bin  dabei einen SSL-Verschlüsselung bei Alfresco 3.4 zu konfigurieren. Bei Alfresco 3.3 hat es alles wunderbar geklappt. Bei Alfresco 3.4 klappt es bei gleichem Vorgehen jedoch nicht.
Ich habe auch versucht, die virtuelle Maschine, auf der Alfresco 3.3 läuft zu kopieren. Dann habe ich Alfressco 3.4.b installiert und wollte den gleichen Keystore mit gleichem Zertifikat (ein mit Openssl selbst erstelltes Zertifikat) verwenden. Beim Start der 3.4 Version bekomme ich im tomcat log die Fehlermeldung:
16.11.2010 09:06:01 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
16.11.2010 09:06:01 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
16.11.2010 09:06:01 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'E/WI-ALF-TEST.keystore' did not find a matching property.
16.11.2010 09:06:01 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystorePass' to 'wialf10' did not find a matching property.
16.11.2010 09:06:01 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'clientAuth' to 'false' did not find a matching property.
16.11.2010 09:06:02 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16.11.2010 09:06:02 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:720)
   at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:06:02 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:06:02 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1945 ms
16.11.2010 09:06:02 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16.11.2010 09:06:02 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
16.11.2010 09:06:02 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
16.11.2010 09:06:07 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16.11.2010 09:06:10 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:07:23 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
16.11.2010 09:07:23 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
16.11.2010 09:07:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
16.11.2010 09:07:24 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:07:34 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16.11.2010 09:07:34 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16.11.2010 09:07:35 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
16.11.2010 09:07:35 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16.11.2010 09:07:35 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
   at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
   at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
   at org.apache.catalina.connector.Connector.start(Connector.java:1087)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:07:35 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.catalina.connector.Connector.start(Connector.java:1094)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:07:35 org.apache.catalina.startup.Catalina start
INFO: Server startup in 92993 ms
16.11.2010 09:10:13 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
16.11.2010 09:10:13 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
16.11.2010 09:10:13 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
16.11.2010 09:10:14 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
16.11.2010 09:10:46 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
16.11.2010 09:10:46 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
16.11.2010 09:10:46 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'C:\Dokumente und Einstellungen\Default User/.keystore' did not find a matching property.
16.11.2010 09:10:46 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystorePass' to 'wi-10alf' did not find a matching property.
16.11.2010 09:10:46 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'clientAuth' to 'false' did not find a matching property.
16.11.2010 09:10:47 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16.11.2010 09:10:47 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:720)
   at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:10:47 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:10:47 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 948 ms
16.11.2010 09:10:47 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16.11.2010 09:10:47 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
16.11.2010 09:10:47 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
16.11.2010 09:10:48 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16.11.2010 09:10:50 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:11:40 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
16.11.2010 09:11:40 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
16.11.2010 09:11:40 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
16.11.2010 09:11:40 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:11:46 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16.11.2010 09:11:46 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16.11.2010 09:11:46 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
16.11.2010 09:11:46 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16.11.2010 09:11:46 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
   at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
   at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
   at org.apache.catalina.connector.Connector.start(Connector.java:1087)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:11:46 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.catalina.connector.Connector.start(Connector.java:1094)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:11:46 org.apache.catalina.startup.Catalina start
INFO: Server startup in 58882 ms
16.11.2010 09:53:20 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
16.11.2010 09:53:20 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
16.11.2010 09:53:20 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
16.11.2010 09:53:21 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
16.11.2010 09:54:47 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
16.11.2010 09:54:47 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
16.11.2010 09:54:47 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'C:\Dokumente und Einstellungen\Default User/.keystore' did not find a matching property.
16.11.2010 09:54:47 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystorePass' to 'wi-10alf' did not find a matching property.
16.11.2010 09:54:47 org.apache.catalina.startup.SetAllPropertiesRule begin
WARNUNG: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'clientAuth' to 'false' did not find a matching property.
16.11.2010 09:54:48 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
16.11.2010 09:54:48 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:720)
   at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:54:48 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.lang.Exception: No Certificate file specified or invalid file format
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
16.11.2010 09:54:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 934 ms
16.11.2010 09:54:48 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
16.11.2010 09:54:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
16.11.2010 09:54:48 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
16.11.2010 09:54:49 org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
16.11.2010 09:54:50 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:55:44 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
16.11.2010 09:55:44 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
16.11.2010 09:55:44 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
16.11.2010 09:55:44 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
16.11.2010 09:55:52 org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
16.11.2010 09:55:52 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
16.11.2010 09:55:52 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
16.11.2010 09:55:52 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
16.11.2010 09:55:52 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:646)
   at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:753)
   at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
   at org.apache.catalina.connector.Connector.start(Connector.java:1087)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:55:52 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden. 
   at org.apache.catalina.connector.Connector.start(Connector.java:1094)
   at org.apache.catalina.core.StandardService.start(StandardService.java:534)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
16.11.2010 09:55:52 org.apache.catalina.startup.Catalina start
INFO: Server startup in 64156 ms
16.11.2010 09:56:47 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
16.11.2010 09:56:47 org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
16.11.2010 09:56:47 org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
16.11.2010 09:56:48 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina

Ich verwende den gleichen Server Connector und den gleichen Schlüsselspeicher samt Zertifikat bei alfresco 3.4 wie bei 3.3. Bei 3.3 funktioniert es einwandfrei. Hat Alfresco 3.4.b andere Anforderungen an das Zertifikat? Welche Einstellungen müssen geändert werden?

Der 8443-Connector im Tomcat server.conf ist:

 
 <Connector port="8443" maxThreads="150" scheme="https" secure="true" SSLEnabled="true" keystoreFile="${user.home}/.keystore"   keystorePass="*******" clientAuth="false" sslProtocol="TLS" />

das Zertifkat habe ich mit folgenden Befehlen erstellt:
   
Openssl genrsa –des3 –out ca.key 2048
    Openssl req –new –x509 –days 3653 –key ca.key –out ca.crt

und das Zertifikat dann mit diesen Befehlen in den Keystore geladen:
  
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA  -keystore C:\Dokumente und Einstellungen\administrator\.keystore
   %JAVA_HOME%\bin\keytool –import –alias root  -keystore „C:\Dokumente und Einstellungen\administrator\.keystore“ –trustcacerts –file E:\Alfresco\OpenSSL\OpenSSL\bin\ca.crt

Ich bin euch für jede Hilfe dankbar.
Viele Grüße
Frank

———–
Server Windows 2003
Tomcat 6
Mysql

Outcomes