-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Allow the location of the certificate and the private key to be configurable in the ~/.tms/config/tms.toml file. Currently, tms_server expects the full certificate chain to be in ~/.tms/certs/cert.pm and the private key to be in ~./tms/certs/key.pm. These locations should be the default but overridable from the configuration file.
Another approach would be to create a script automatically invoked on cert/key update that copies the cert and key to the ~./tms/certs directory of the id that runs tms_server as follows:
cd ~/.tms/certs (as root)
cp -p /etc/letsencrypt/live/tms-server-dev.tacc.utexas.edu/fullchain.pem cert.pem
cp -p /etc/letsencrypt/live/tms-server-dev.tacc.utexas.edu/privkey.pem key.pem
chmod 600 cert.pem key.pem
chown <tms_userid>:<tms_userid> cert.pem key.pem
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
On Hold