[jira] Created: (MASHUP-1072) https access from one service to another.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
https access from one service to another.
-----------------------------------------

                 Key: MASHUP-1072
                 URL: https://wso2.org/jira/browse/MASHUP-1072
             Project: WSO2 Mashup Server
          Issue Type: Bug
            Reporter: Jonathan Marsh
            Assignee: Keith Godwin Chapman
             Fix For: 1.5.1


The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?

Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".

        org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
        at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
        at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
        at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
        at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)




--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org

     [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Marsh updated MASHUP-1072:
-----------------------------------

    Attachment: jonathan-blogActivity.zip

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.5.1
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

    [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18552#action_18552 ]

Keith Godwin Chapman commented on MASHUP-1072:
----------------------------------------------

Jonathan could you check youor private key please. You can do so by visiting https://localhost:7443/cert_manager.jsp

Check the valid until field of your private key in there. I presume that your private key has expired.

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.5.1
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

Re: [jira] Commented: (MASHUP-1072) https access from one service to another.

Jonathan Marsh-2
No, I generated a new one a few days ago. Reports it's good from 04/08/2008
till 02/11/2008.  Here's more of the exception...

This is trying to use https to go from the jonathan-blogActivity mashup to
the system-feedCache mashup.

[blogActivity] fetching http://www.bloglines.com/blog/gdaniels/rss
 INFO [2008-08-06 21:22:02,139]  Unable to sendViaGet to
url[https://localhost:7
443/services/system/feedCache.SecureHTTPEndpoint]
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException:
No trusted certificate found
        at
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1
518)
        at
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
        at
com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
        at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien
tHandshaker.java:848)
        at
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHa
ndshaker.java:106)
        at
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4
95)
        at
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.jav
a:433)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j
ava:818)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS
LSocketImpl.java:1030)
        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.
java:622)
        at
com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.ja
va:59)
        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65
)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
        at
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream
(HttpConnection.java:828)
        at
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
ConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManage
r.ja
va:1565)
        at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodB
ase.java:2116)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
ava:1096)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt
pMethodDirector.java:398)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
thodDirector.java:171)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:397)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:346)
        at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abst
ractHTTPSender.java:542)
        at
org.apache.axis2.transport.http.HTTPSender.sendViaGet(HTTPSender.java
:102)
        at
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:61)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
geWithCommons(CommonsHTTPTransportSender.java:364)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
monsHTTPTransportSender.java:208)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
peration.java:401)
        at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
InAxisOperation.java:228)
        at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:
163)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:
548)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:
528)
        at
org.wso2.mashup.hostobjects.wsrequest.WSRequestHostImpl.jsFunction_se
nd(WSRequestHostImpl.java:772)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
        at
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
        at
org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)

        at org.mozilla.javascript.gen.c423._c17(feedCache.stub.js:484)
        at org.mozilla.javascript.gen.c423.call(feedCache.stub.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)

        at org.mozilla.javascript.gen.c423._c8(feedCache.stub.js:211)
        at org.mozilla.javascript.gen.c423.call(feedCache.stub.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)

        at org.mozilla.javascript.gen.c421._c5(jonathan-blogActivity:125)
        at org.mozilla.javascript.gen.c421.call(jonathan-blogActivity)
        at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
93)
        at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:283
4)
        at org.mozilla.javascript.gen.c421.call(jonathan-blogActivity)
        at
org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
:180)
        at
org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
:210)
        at
org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(Java
ScriptReceiver.java:195)
        at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
31)
        at
org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.wso2.mashup.transport.ServiceUIFilter.doFilter(ServiceUIFilter.ja
va:207)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.j
ava:135)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
Caused by: sun.security.validator.ValidatorException: No trusted certificate
fou
nd
        at
sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValida
tor.java:304)
        at
sun.security.validator.SimpleValidator.engineValidate(SimpleValidator
.java:107)
        at sun.security.validator.Validator.validate(Validator.java:203)
        at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(
X509TrustManagerImpl.java:172)
        at
com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(
SSLContextImpl.java:320)
        at
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien
tHandshaker.java:841)
        ... 78 more
ERROR [2008-08-06 21:22:02,355]  org.wso2.mashup.MashupFault:
sun.security.valid
ator.ValidatorException: No trusted certificate found
org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault:
sun.security.validator.
ValidatorException: No trusted certificate found
        at
org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
:184)
        at
org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
:210)
        at
org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(Java
ScriptReceiver.java:195)
        at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
sLogic(AbstractInOutMessageReceiver.java:40)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
        at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
31)
        at
org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.wso2.mashup.transport.ServiceUIFilter.doFilter(ServiceUIFilter.ja
va:207)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.j
ava:135)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:210)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:870)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:685)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.mozilla.javascript.JavaScriptException:
org.wso2.mashup.MashupFau
lt: sun.security.validator.ValidatorException: No trusted certificate found
(fee
dCache.stub.js#217)
        at org.mozilla.javascript.gen.c423._c8(feedCache.stub.js:217)
        at org.mozilla.javascript.gen.c423.call(feedCache.stub.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)

        at org.mozilla.javascript.gen.c421._c5(jonathan-blogActivity:125)
        at org.mozilla.javascript.gen.c421.call(jonathan-blogActivity)
        at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
93)
        at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:283
4)
        at org.mozilla.javascript.gen.c421.call(jonathan-blogActivity)
        at
org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
:180)
        ... 30 more

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
 

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of Keith Godwin Chapman (JIRA)
> Sent: Wednesday, August 06, 2008 7:19 PM
> To: [hidden email]
> Subject: [Mashup-dev] [jira] Commented: (MASHUP-1072) https access from
> one service to another.
>
>
>     [ https://wso2.org/jira/browse/MASHUP-
> 1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=18552#action_18552 ]
>
> Keith Godwin Chapman commented on MASHUP-1072:
> ----------------------------------------------
>
> Jonathan could you check youor private key please. You can do so by
> visiting https://localhost:7443/cert_manager.jsp
>
> Check the valid until field of your private key in there. I presume
> that your private key has expired.
>
> > https access from one service to another.
> > -----------------------------------------
> >
> >                 Key: MASHUP-1072
> >                 URL: https://wso2.org/jira/browse/MASHUP-1072
> >             Project: WSO2 Mashup Server
> >          Issue Type: Bug
> >            Reporter: Jonathan Marsh
> >            Assignee: Keith Godwin Chapman
> >             Fix For: 1.5.1
> >
> >         Attachments: jonathan-blogActivity.zip
> >
> >
> > The enclosed service works fine when accessed from http (it tries to
> access itself and feedCache using the same protocol), but fails when
> accessed from https.  I have uploaded a private key to my keystore, and
> even tried adding a cert for localhost.  What am I doing wrong?
> > Invoke the "fetchBlog" operation with the value
> "http://sanjiva.weerawarana.org/feeds/posts/default".
> > org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot
> recover key
> > at
> org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:1
> 84)
> > at
> org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:2
> 10)
> > at
> org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaSc
> riptReceiver.java:195)
> > at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessL
> ogic(AbstractInOutMessageReceiver.java:40)
> > at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMess
> ageReceiver.java:100)
> > at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> > at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReque
> st(HTTPTransportUtils.java:275)
> > at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131
> )
> > at
> org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> https://wso2.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>
>
> _______________________________________________
> Mashup-dev mailing list
> [hidden email]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev


_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

    [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18565#action_18565 ]

Keith Godwin Chapman commented on MASHUP-1072:
----------------------------------------------

Fixed a bug related to this in revision 20521. Exceptions were not propagated to the UI. The problenm you faced is this,

The certificate the Mashup Server ships with is a demo certificate which we've created. Its not signed by a valid CS. Hence the public certificate cannot be imported using this mechanism.

You can use a tool such as openssl to get the certificate in a scenario such as this and then upload it using the UI. This is not straight and needs a couple of steps to be done.

Shall I document this in the MS docs? But I feel that it will be better to document this as a KB and point to that. Because this is something people will need for other scenarios too.

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.5.1
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

     [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Channa Gunawardena updated MASHUP-1072:
---------------------------------------

    Fix Version/s: 1.6
                       (was: 1.5.1)

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.6
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

    [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18606#action_18606 ]

Channa Gunawardena commented on MASHUP-1072:
--------------------------------------------

A KB article will be written to describe how a cert can be obtained from a URL and references can be added to this JIRA and in the Mashup Server.

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 1.6
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

     [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Godwin Chapman updated MASHUP-1072:
-----------------------------------------

    Fix Version/s: 2.0
                       (was: 1.6)

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 2.0
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

     [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Godwin Chapman updated MASHUP-1072:
-----------------------------------------

    Component/s: Documentation

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: 2.0
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (MASHUP-1072) https access from one service to another.

JIRA jira@wso2.org
In reply to this post by JIRA jira@wso2.org

     [ https://wso2.org/jira/browse/MASHUP-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tyrell Perera updated MASHUP-1072:
----------------------------------

    Fix Version/s: Future
                       (was: 2.0)

> https access from one service to another.
> -----------------------------------------
>
>                 Key: MASHUP-1072
>                 URL: https://wso2.org/jira/browse/MASHUP-1072
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Jonathan Marsh
>            Assignee: Keith Godwin Chapman
>             Fix For: Future
>
>         Attachments: jonathan-blogActivity.zip
>
>
> The enclosed service works fine when accessed from http (it tries to access itself and feedCache using the same protocol), but fails when accessed from https.  I have uploaded a private key to my keystore, and even tried adding a cert for localhost.  What am I doing wrong?
> Invoke the "fetchBlog" operation with the value "http://sanjiva.weerawarana.org/feeds/posts/default".
> org.apache.axis2.AxisFault: org.wso2.mashup.MashupFault: Cannot recover key
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:184)
> at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java:210)
> at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(JavaScriptReceiver.java:195)
> at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
> at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
> at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[hidden email]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev