HTTPS on JBoss AS 7.1.2 -
I have followed the link below for HTTPS setup on jboss AS 7.1.2
But after this, when I start the job, I get the following error:
10: 31: 05,481 error [Org.apache.coyote. Http11.Http11AprProtocol] ↳ (MSC service thread 1-11) error to start the endpoint: java.lang.Exception: load certificate unable to load key ../standalone/configuration/chap8.keystore ↳ (error: 0906D06C: the PEM routines: PEM_read_bio: Org.apache.tomcat.jni.SSLContext.setCertificate (Basic Law) [jbossweb-7.0.16.Final.jar:] at org.apache.tomcat.util.net.AprEndpoint.init (AprEndpoint. No start line java): 644) [jbossweb-7.0.16.Final.jar:] on org.apache.coyote.http11.Http11AprProtocol.init (Http11AprProtocol.java:121) [jbossweb-7.0.16.Final. Jar:] at org.apache .catalina.connector.connector.init (connector.java: 9 83) [jbsweb-7.0.16. Firefighter] at org.jboss.as.web .We BConnectorService.start (WebConnectorService.java, 2007) [jboss-as-web-7.1.2.final.jar: 7klk2kfinl] at org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService (ServiceControllerImpl. java: 1811) [jboss-msc-1.0.2.GA.jar: Lk0k2kjia] at org.jboss.msc.service.ServiceControllerImpl $ StartTask.run (ServiceControllerImpl.java:1746) [jboss-msc-1.0 .2 .ga.jar: 1.0.2.ga] java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java.145) [rt.jar: 1.7.0_45] at java.util.concurrent.ThreadPool Explorer $ Worker Run () ThreadPoolExecutor.java:615 [rt.jar: 1.7.0_45] java.lang.Thread.run (at Thread.java:744) [rt.jar: 1.7.0_45] 10: 31: 05,489 error [org] .jboss. Msc.service.fail] (msc service thread 1-11) ↳ msc 00001: failed to start service jboss.web.connector.https: ↳ org.jboss.msc.service.StartException service in jboss.web.connector.https : ↳ JBAS018007: Error in starting Web Connector on org.jboss.as.web.WebConnectorService.start (WebConnectorService Java: 271) org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService (ServiceControllerImpl.java:1811) [Jboss-msc-1.0.2.ga.jar: 1.0.2.GA] at org.jboss. Msc.service.ServiceControllerImpl $ StartTask.run (ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar: 1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1145) [rt.jar: 1.7.0_45] java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:615) [rt.jar: 1.7.0_45] at java.lang.Thread.run (thread. Java: 744) [rt.jar: 1.7.0_45]: LifecycleException: Failed to initialize protocol handler because of: java.lang.Exception: ↳ Unable to load certificate key ../standalone/configuration/chap8.keystore ( Error: 0906D06C: PEM routine: PEM_read_bio: A starting line) org.apache.catalina.connector.Connector.init (Connector.java:985) at org.jboss.as.web.WebConnectorService.start (WebConnectorService. Java: 267) .. 5. More
Please p Please let me solve this problem.
I was getting the error above, because jaboss has native apr libraries . This problem is resolved by using JBS instead of the original APR libraries using JSE libraries .
Use the original = "incorrect" in the sub-system tag.
Comments
Post a Comment