[jira] Created: (OFBIZ-1913) certian operation can not be performed with out a valid CA cert Self Cert does not work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1913) certian operation can not be performed with out a valid CA cert Self Cert does not work

Nicolas Malin (Jira)
certian operation can not be performed with out a valid CA cert Self Cert does not work
---------------------------------------------------------------------------------------

                 Key: OFBIZ-1913
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1913
             Project: OFBiz
          Issue Type: Bug
          Components: ALL COMPONENTS
    Affects Versions: SVN trunk
         Environment: Trunk
            Reporter: BJ Freeman
             Fix For: SVN trunk


had this under a different Jira but the point got passed over.
using localhost from clean SVN checkout.
run the ant routine in
https://issues.apache.org/jira/browse/OFBIZ-1902 to self cert
the create a productstore
the go to content create website
and try to create a website.
the process comes back as a null. a Website ID was not created.

This will show ok on the demo site since it has a CA cert.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1913) certian operation can not be performed with out a valid CA cert Self Cert does not work

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621197#action_12621197 ]

BJ Freeman commented on OFBIZ-1913:
-----------------------------------

2008-07-29 14:24:31,312 (http-0.0.0.0-8443-2) [
RequestHandler.java:243:INFO ] [Processing Request]: EditWebSite
sessionId=15BC9675666BC788DE897F186C9BF720.jvm1
2008-07-29 14:24:31,312 (http-0.0.0.0-8443-2) [
RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=15BC9675666BC788DE897F186C9BF720.jvm1
2008-07-29 14:24:31,312 (http-0.0.0.0-8443-2) [
RequestHandler.java:584:INFO ] servletName=control, view=EditWebSite
sessionId=15BC9675666BC788DE897F186C9BF720.jvm1
2008-07-29 14:24:31,312 (http-0.0.0.0-8443-2) [
JSSESupport.java:89 :DEBUG] Error getting client certs
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
        at
com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:345)
        at
org.apache.tomcat.util.net.jsse.JSSESupport.getX509Certificates(JSSESupport.java:87)
        at
org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:141)
        at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1011)
        at org.apache.coyote.Request.action(Request.java:352)
        at org.apache.catalina.connector.Request.getAttribute(Request.java:896)
        at
org.apache.catalina.connector.Request.getAttributeNames(Request.java:936)
        at
org.apache.catalina.connector.RequestFacade.getAttributeNames(RequestFacade.java:278)
        at org.ofbiz.base.util.UtilHttp.getAttributeMap(UtilHttp.java:198)
        at org.ofbiz.base.util.UtilHttp.getAttributeMap(UtilHttp.java:187)
        at org.ofbiz.base.util.UtilHttp.getCombinedMap(UtilHttp.java:90)
        at
org.ofbiz.widget.screen.ScreenRenderer.populateContextForRequest(ScreenRenderer.java:183)
        at
org.ofbiz.widget.screen.ScreenRenderer.populateContextForRequest(ScreenRenderer.java:175)
        at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:92)
        at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:651)
        at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:435)
        at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)
2008-07-29 14:24:31,390 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.015s:
file:/C:/projects/java/ofbiz_all/applications/content/widget/WebSiteScreens.xml
2008-07-29 14:24:31,390 (http-0.0.0.0-8443-2) [
ScreenFactory.java:128:INFO ] Got 11 screens in 0.078s from:
file:/C:/projects/java/ofbiz_all/applications/content/widget/WebSiteScreens.xml
2008-07-29 14:24:31,390 (http-0.0.0.0-8443-2) [
PrimaryKeyFinder.java:138:INFO ] Returning null because found incomplete
primary key in find: [GenericEntity:WebSite][webSiteId,null()]
2008-07-29 14:24:31,453 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.016s:
file:/C:/projects/java/ofbiz_all/applications/content/widget/CommonScreens.xml
2008-07-29 14:24:31,453 (http-0.0.0.0-8443-2) [
ScreenFactory.java:128:INFO ] Got 12 screens in 0.063s from:
file:/C:/projects/java/ofbiz_all/applications/content/widget/CommonScreens.xml
2008-07-29 14:24:31,546 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.015s: XML Properties file
2008-07-29 14:24:31,593 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.015s: XML Properties file
2008-07-29 14:24:31,593 (http-0.0.0.0-8443-2) [
UtilProperties.java:549:INFO ] Loaded 390 properties for:
ContentUiLabels (en)
2008-07-29 14:24:31,640 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.031s: XML Properties file
2008-07-29 14:24:31,687 (http-0.0.0.0-8443-2) [
UtilProperties.java:866:INFO ] ResourceBundle ContentUiLabels (en_US)
created in 234.0 mS
2008-07-29 14:24:31,703 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.016s:
file:/C:/projects/java/ofbiz_all/framework/common/widget/CommonScreens.xml
2008-07-29 14:24:31,703 (http-0.0.0.0-8443-2) [
ScreenFactory.java:128:INFO ] Got 19 screens in 0.016s from:
file:/C:/projects/java/ofbiz_all/framework/common/widget/CommonScreens.xml
2008-07-29 14:24:31,890 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.0s:
file:/C:/projects/java/ofbiz_all/applications/content/widget/content/ContentMenus.xml
2008-07-29 14:24:31,906 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.016s:
file:/C:/projects/java/ofbiz_all/framework/common/widget/CommonMenus.xml
2008-07-29 14:24:31,921 (http-0.0.0.0-8443-2) [
ModelScreenWidget.java:523:INFO ] In the include-screen tag the screen
name was empty, ignoring include; in screen [GlobalDecorator]
2008-07-29 14:24:32,015 (http-0.0.0.0-8443-2) [
UtilXml.java:241:INFO ] XML Read 0.015s:
file:/C:/projects/java/ofbiz_all/applications/content/webapp/content/website/WebSiteForms.xml
2008-07-29 14:24:32,078 (http-0.0.0.0-8443-2) [
ControlServlet.java:299:INFO ] [[[EditWebSite] Done rendering page,
Servlet Finished- total:0.985,since last([EditWebSite] Set...):0.938]]

> certian operation can not be performed with out a valid CA cert Self Cert does not work
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1913
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>         Environment: Trunk
>            Reporter: BJ Freeman
>             Fix For: SVN trunk
>
>
> had this under a different Jira but the point got passed over.
> using localhost from clean SVN checkout.
> run the ant routine in
> https://issues.apache.org/jira/browse/OFBIZ-1902 to self cert
> the create a productstore
> the go to content create website
> and try to create a website.
> the process comes back as a null. a Website ID was not created.
> This will show ok on the demo site since it has a CA cert.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1913) certian operation can not be performed with out a valid CA cert Self Cert does not work

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625129#action_12625129 ]

BJ Freeman commented on OFBIZ-1913:
-----------------------------------

from logs
2008-08-23 22:38:03,312 (main) [             JkMain.java:251:INFO ] Can't find home, jk2.properties not loaded
so have to patch JkMain.java: to get the java home info internally.

Note I don't have a java_home on my system since I have java jre from 1.3 up, i still use
so I put the path of the JRE in the command line.

> certian operation can not be performed with out a valid CA cert Self Cert does not work
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1913
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>         Environment: Trunk
>            Reporter: BJ Freeman
>             Fix For: SVN trunk
>
>
> had this under a different Jira but the point got passed over.
> using localhost from clean SVN checkout.
> run the ant routine in
> https://issues.apache.org/jira/browse/OFBIZ-1902 to self cert
> the create a productstore
> the go to content create website
> and try to create a website.
> the process comes back as a null. a Website ID was not created.
> This will show ok on the demo site since it has a CA cert.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1913) certian operation can not be performed with out a valid CA cert Self Cert does not work

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625461#action_12625461 ]

BJ Freeman commented on OFBIZ-1913:
-----------------------------------

http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jk/server/JkMain.java?view=markup
and
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jk/core/WorkerEnv.java?view=markup
and
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java?view=markup
try to find a home for the JK properties.
but in local mode can not.

so now to find out if the embedded causes this or if I run normal tomcat in local mode if I get the same problem.

> certian operation can not be performed with out a valid CA cert Self Cert does not work
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1913
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>         Environment: Trunk
>            Reporter: BJ Freeman
>             Fix For: SVN trunk
>
>
> had this under a different Jira but the point got passed over.
> using localhost from clean SVN checkout.
> run the ant routine in
> https://issues.apache.org/jira/browse/OFBIZ-1902 to self cert
> the create a productstore
> the go to content create website
> and try to create a website.
> the process comes back as a null. a Website ID was not created.
> This will show ok on the demo site since it has a CA cert.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.