Skip to main content
added 5 characters in body
Source Link
KevinS
  • 151
  • 4

I'm writing a Java desktop application that will be available to the public. It will contact backend APIs via HTTPS using Jersey client.

I don't know anything about using certificates in desktop apps but from what I've found out so far I'll need to create an SSLContext that reads a public certificate from a KeyStore that is protected by a password.

I'm assuming I can distribute the contents of the KeyStore by packaging it in the Jar of my app. But I don't see how I can securely make the key store password available to the app. I don't want the users to have to enter it manually.

I'm writing a desktop application that will be available to the public. It will contact backend APIs via HTTPS using Jersey client.

I don't know anything about using certificates in desktop apps but from what I've found out so far I'll need to create an SSLContext that reads a public certificate from a KeyStore that is protected by a password.

I'm assuming I can distribute the contents of the KeyStore by packaging it in the Jar of my app. But I don't see how I can securely make the key store password available to the app. I don't want the users to have to enter it manually.

I'm writing a Java desktop application that will be available to the public. It will contact backend APIs via HTTPS using Jersey client.

I don't know anything about using certificates in desktop apps but from what I've found out so far I'll need to create an SSLContext that reads a public certificate from a KeyStore that is protected by a password.

I'm assuming I can distribute the contents of the KeyStore by packaging it in the Jar of my app. But I don't see how I can securely make the key store password available to the app. I don't want the users to have to enter it manually.

edited tags
Link
Arseni Mourzenko
  • 139.2k
  • 32
  • 359
  • 544
Tweeted twitter.com/#!/StackProgrammer/status/550055665239351297
Source Link
KevinS
  • 151
  • 4

How to access secure web services from a desktop application?

I'm writing a desktop application that will be available to the public. It will contact backend APIs via HTTPS using Jersey client.

I don't know anything about using certificates in desktop apps but from what I've found out so far I'll need to create an SSLContext that reads a public certificate from a KeyStore that is protected by a password.

I'm assuming I can distribute the contents of the KeyStore by packaging it in the Jar of my app. But I don't see how I can securely make the key store password available to the app. I don't want the users to have to enter it manually.