• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing certificate

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I want to use javapns api to push notification to iPADs from my web application.

This is how its written
Push.payload(payload, keyStore, PASSWORD, ISPRODUCTION, TOKEN1);

is there anyway I can read certificate from the server in my java program? I am using Websphere 7. I have installed the cert on it
How can i make use of it ,instead of packaging the .p12 file in the jar and referencing it in keyStore parameter.
It always throws SSl Handshake error

Is there anyway to interpert what certificate is being sent
 
Bartender
Posts: 3904
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

If you wish to connect vi HTTPS to iPad from WAS, you should export public SSL certificate from WAS and import it in iPad's SSL trust store.

To debug SSL connections between WAS and iPad, please refer this article (section "Collecting data manually")

regards,
MZ
 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi mz,
sorry for late reply..But my actuall
 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mz,
do you know a way where we can read keystore in java class ,which is installed on Websphere
For example infra team installed .p12 file on websphere, I want to read it in my java class to pass it to javapns api which actaully pushes notification to ipads
and this api expects .p12 file as inputstream
 
Mikalai Zaikin
Bartender
Posts: 3904
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

1) Refer IBM WebSphere infocenter on certificates management
2) Refer keytool documentation on certificate management

For example, here are some details how to export: https://community.emc.com/docs/DOC-2212

The command might look like follows:



HTH,
MZ
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic