Is it safe to place pkcs8 and crt files in a signed jar

43 Views Asked by At

Will these files be protected/encrypted in a signed jar that may be distributed publicly?

The intent is to have the jar run a mini web server that contains a cert for localhost.somedomain.com

localhost.somedomain.com has an A record pointing to 127.0.0.1. This allows a website to communicate with the jar's application via js over a valid/trusted https connection. The local application will communicate with devices over USB.

I'm just not sure the private keys would be protected.

0

There are 0 best solutions below