You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Rael (JIRA)" <ji...@apache.org> on 2012/07/23 17:31:33 UTC
[jira] [Created] (SMX4-1199) Apns certificate should be accessible
outside the classpath
Rael created SMX4-1199:
--------------------------
Summary: Apns certificate should be accessible outside the classpath
Key: SMX4-1199
URL: https://issues.apache.org/jira/browse/SMX4-1199
Project: ServiceMix 4
Issue Type: Bug
Reporter: Rael
org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SMX4-1199) Apns certificate should be accessible
outside the classpath
Posted by "Rael (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rael closed SMX4-1199.
----------------------
Resolution: Invalid
> Apns certificate should be accessible outside the classpath
> -----------------------------------------------------------
>
> Key: SMX4-1199
> URL: https://issues.apache.org/jira/browse/SMX4-1199
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Rael
>
> org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-1199) Apns certificate should be
accessible outside the classpath
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421007#comment-13421007 ]
Freeman Fang commented on SMX4-1199:
------------------------------------
Hi,
Sounds like it's a camel related issue, you should create jira issue on camel jira instance, or I think you should post this question on camel mailling list first
Freeman
> Apns certificate should be accessible outside the classpath
> -----------------------------------------------------------
>
> Key: SMX4-1199
> URL: https://issues.apache.org/jira/browse/SMX4-1199
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Rael
>
> org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-1199) Apns certificate should be
accessible outside the classpath
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421869#comment-13421869 ]
Freeman Fang commented on SMX4-1199:
------------------------------------
Hi,
As I mentioned before, this is a camel related issue, so you should post questions on camel mailinglist or create a camel jira if you're sure it's a bug.
Freeman
> Apns certificate should be accessible outside the classpath
> -----------------------------------------------------------
>
> Key: SMX4-1199
> URL: https://issues.apache.org/jira/browse/SMX4-1199
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Rael
>
> org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-1199) Apns certificate should be
accessible outside the classpath
Posted by "Rael (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422345#comment-13422345 ]
Rael commented on SMX4-1199:
----------------------------
I apologise, something must have gone wrong during issue creation.
> Apns certificate should be accessible outside the classpath
> -----------------------------------------------------------
>
> Key: SMX4-1199
> URL: https://issues.apache.org/jira/browse/SMX4-1199
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Rael
>
> org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SMX4-1199) Apns certificate should be
accessible outside the classpath
Posted by "Rael (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SMX4-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421556#comment-13421556 ]
Rael commented on SMX4-1199:
----------------------------
It seems to me, its a problem with the library.
i.e this line:
certificateInputStream = camelContext.getClassResolver().loadResourceAsStream(getCertificatePath());
in org.apache.camel.component.apns.factory.ApnsServiceFactory.configureApnsCertificate()
> Apns certificate should be accessible outside the classpath
> -----------------------------------------------------------
>
> Key: SMX4-1199
> URL: https://issues.apache.org/jira/browse/SMX4-1199
> Project: ServiceMix 4
> Issue Type: Bug
> Reporter: Rael
>
> org.apache.camel.component.apns.factory.ApnsServiceFactory loads the push certificate from the classpath - this is not exactly the safest practise. The certificate path should allow an absolute path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira