title: Java SSL Certificate
body: <p>I need to communicate between two desktop Java app, and the best way to do this is to use SSL (to prevent sniffers). I control both the client and server so self-signed is okay.</p>
  
  <p>My question is if a certificate can be made and used from scratch programmatically (i.e. the end user does not have to physically do anything himself).</p>
  
  <p>If this is possible, could you give me some pointers?</p>