Regardless of the deployment approach, you need to obtain or generate a certificate, and import it into a Java Keystore.
Follow Configuring a Certificate Store for instructions on how to import an existing certificate into a Java Key Store, or even generate a Self signed certificate
For container based deployments, configuring HTTPS is as easy as attaching a volume with the certificates, and setting up the right environment variables pointing to them.
Mount the volume at any location in your container, for instance at /opt/aspire/ssl_certs
Starting a worker node just requires changing the ASPIRE_MANAGER_NODE to ASPIRE_WORKER_NODE .See Properties for all the different environment variables that can be set on Aspire
Follow the steps at: Using Aspire via HTTPS
Make sure to add the following environment variable before starting the Aspire nodes:
The hostname variable is important as it Aspire will let other nodes know that's the hostname they should use in order to access it, and it must match the certificate for other nodes to be able to access it.