To use Security Profile, you have two options:
In either case, you will first need a self signed private key in a keystore and a corresponding public key in a truststore.
See here for information on creating these stores.
Once you have a truststore, it can be associated with the client (the sending application) by creating a CustomCertificateTlsSocketFactory.
Error during retrieving content skip as ignoreDownloadError activated.
The server needs to be associated with a keystore containing a private key. If you are using an embedded Jetty instance, it will look like this:
Error during retrieving content skip as ignoreDownloadError activated.
If the server is using a HAPI SimpleServer with the HL7 over HTTP LLP implementation, Encryption Profile can be used as follows:
Error during retrieving content skip as ignoreDownloadError activated.