Secure Externally Accessible Services¶
For security reasons, we strongly recommend configuring the TLS encryption. For PLOSSYS Administrator, this is also one step to get rid off the annoying certificate warnings in the browser. We also recommend using a regenerated client secret different to the one contained in delivery.
This article describes how to secure services that are accessible from the outside:
seal-cpm-checkinseal-ipp-checkinseal-job-notifierseal-mainland-checkoutseal-plossysadminseal-rest
Hint - Script
SEAL Systems offers a script for updating certificates. Contact your Technical Project Manager at SEAL Systems if you are interested.
Configure the TLS Encryption¶
-
Get the TLS certificate in PEM format, see the Requirement. For securing the connection to PLOSSYS Administrator, the certificate has to contain the server name of PLOSSYS Output Engine.
-
Create a new directory for the external TLS certificates:
mkdir /opt/seal/etc/tls-external/ -
Save the private key and the public certificate in the newly created
/opt/seal/etc/tls-external/directory:/opt/seal/etc/tls-external/key.pem/opt/seal/etc/tls-external/cert.pem -
Set the following key to the path of the certificate files:
TLS_EXTERNAL_DIR: Directory for storing the files necessary for secure transfer of the services handling external requests.
Example - setting key via PLOSSYS CLI for all external services (recommended)
plossys config set TLS_EXTERNAL_DIR "C:\ProgramData\SEAL Systems\config\tls-external" --service any --insecureExample - setting key via PLOSSYS CLI for PLOSSYS Administrator only
plossys config set TLS_EXTERNAL_DIR "/opt/seal/etc/tls-external" --service plossysadmin --insecureHint - exception job-notifier
Although the
seal-job-notifieris accessible from the outside, it does not support the environment keyTLS_EXTERNAL_DIRyet. You have to setTLS_DIRfor theseal-job-notifierservice accordingly.plossys config set TLS_DIR "C:\ProgramData\SEAL Systems\config\tls-external" --service job-notifier --insecure -
If self-signed certificates are used with PLOSSYS Administrator, the following key has to be set to
0for theseal-plossysadminservice:NODE_TLS_REJECT_UNAUTHORIZED: Flag if self-signed certificates are allowed
Example - setting key via PLOSSYS CLI
plossys config set NODE_TLS_REJECT_UNAUTHORIZED 0 --service plossysadmin --insecure -
Restart the following services:
seal-cpm-checkinseal-ipp-checkinseal-job-notifierseal-mainland-checkoutseal-plossysadminseal-rest
-
Close PLOSSYS Administrator and open it again.
Configure the TLS Encryption in a Cluster¶
If you are running PLOSSYS Output Engine in a cluster, execute the configuration steps above on all Output Engine servers. Thereby, use the same directory for the certificate files so that TLS_EXTERNAL_DIR is valid on all Output Engine servers.
Regenerate the Client Secret in the OIDC Identity Provider¶
-
In the OIDC identity provider, regenerate the secret for the
seal-plossysadminclient, refer to the SEAL Interfaces for OIDC documentation. -
In the configuration of the
seal-plossysadminservice, specify the regenerated client secret with the following key:AUTH_CLIENT_SECRET: Client secret generated in the OIDC identity provider for theseal-plossysadminclient
Specify a CA Certificate (Unnecessary in Most Cases)¶
If a CA certificate has been specified, PLOSSYS Administrator requires a client certificate from each client, that means from the Web browser. This would require corresponding properties of the certificate and would be a high effort. A complete explanation of how to use client certificates is beyond the scope of this documentation.
For the rare other cases, this is how you configure a CA certificate with PLOSSYS Administrator:
-
Save the CA certificate to the following file:
/opt/seal/etc/tls-external/ca.pem
Next Step¶
Continue with: Secure Internal Output Engine Services