DRAFT
Protocols like HTTP, FTP, LLP, and SMTP may use TLS to encrypt communication. When using the various Network Client APIs in the Translator, TLS can be used.
General TLS configurations:
One-way TLS. Only the client verifies the server’s certificate.
Two-way Mutual TLS (mTLS). Both the client and the server authenticate each other’s certificates.
...
There are a few key parameters used to enable these TLS configurations:
verify_peer
- Ensures that the server's certificate is valid and trusted by verifying it against a CA.verify_host
- Ensures that the server's certificate is specifically intended for the hostname you are connecting to.ca_file
- Optional, if you need to specify the path to a customcafile
.cert
- For mTLS, the client is required to provide a certificate to be verified by the server.key
- For mTLS, the client is required to use a private key to provide a signature proving that the client has the private key associated with the public certificate it presents.
API-specific Configuration:
The Network Client APIs have slightly different configuration parameters, choose the dropdown below to view the specific configurations and an example with each client API:
Expand | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||
By default, the net.http.* client APIs are set to verify peer and verify host ssl parameters can be passed as a table to the net.http.* client APIs.
|
Expand | ||
---|---|---|
| ||
FTP and FTPS use one way TSL by default.
To use two-way mTLS, you can provide the following parameters: |
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
Also see Enable SSL for the HL7 Server. |
...