Enable SSL for the HL7 Server

You can enable SSL for the HL7 Server by following a few quick steps:

On the HL7 Server component card, click [ Edit ] and to open the Translator.

Please Note:

  • Iguana X currently does not support mutual TLS (mTLS), therefore peer certificate verification cannot be enabled.

  • The Private key file must be in PEM format and cannot be password protected.

  • The Certificate file must be x509 in PEM format and cannot be password protected.

Use config.json to define Custom Fields to store your SSL Certificate and Private Key Files.

Choose the Field Type: file and use the browse button to select the default file paths you wish to use. For example:

For production, these file paths can be edited and defined on the component card.

Create an internal copy of the LLPS Library’s repository by changing the upstream repository.

  • Click View Remote on the LLPS Library using the tooltip dropdown

  • Create a new repository to change the owner from interfaceware to your own git workspace.

  • Navigate to the LLPstart() function on line 86 of LLPSserver.lua.

  • Use the ssl table parameter with socket.listen_a to pass the certificate and private key files you stored as custom field configurations.

Your function should be as follows:

function LLPstart() local Config = component.fields() local SSL = {cert=Config.Certificate, key=Config.PrivateKey} socket.listen_a{port=Config.Port, ssl=SSL} end

Your HL7 Server component will now use SSL to secure your traffic. Commit your changes and you’re all done!

Â