hengsokchamroeun / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Read cert from secondary server #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
from:
http://stackoverflow.com/questions/8443256/javapns-file-not-found

User wants to read the certificate from another server.

Original issue reported on code.google.com by idbill.p...@gmail.com on 9 Dec 2011 at 9:54

GoogleCodeExporter commented 8 years ago
I'm not sure I understand what the purpose (and safety) would be by doing 
that...  But, since JavaPNS also accepts InputStream objects for keystores, I 
guess one could open a URL connection first, and pass the connection's input 
stream to JavaPNS (if the keystore absolutely can't be stored locally)..  This 
is exactly what the original posting on stackoverflow hinted at by creating an 
InputStream from a URL;  just pass that InputStream to JavaPNS and it will take 
care of the rest.

I do not think that storing the keystore on a secondary server is something we 
should be promoting (not being sure about the security implications), thus I 
think this enhancement request should be rejected.  If the original requester 
absolutely needs it, the existing support for InputStreams seems to be a 
reasonable solution.

Comments anyone?

PS: I can't understand why people post questions on other web sites while the 
project's official web site provides easy ways of posting questions and 
requesting support directly from the developers.... weird.  Thanks Bill for 
reposting the request here :)

Original comment by sype...@gmail.com on 9 Dec 2011 at 10:55

GoogleCodeExporter commented 8 years ago
Closing as WontFix, as per reasons stated in previous comment.

Original comment by sype...@gmail.com on 13 Dec 2011 at 2:51