OpenRC service needs password to unlock certificate
1
vote
2
answers
92
views
I'm making my own service which communicates using sockets and SSL. It needs a certificate to work, but the certificate is currently locked behind a password.
I can think of two ways to fix this. Either make the certificate not require a password. Or store the password to the certificate in a separate file, which the service can read in order to unlock the certificate.
Both options feel like a bad idea. What is best practice here?
Also, I'm using OpenRC not systemd.
Asked by spinosarus123
(175 rep)
Nov 24, 2024, 03:48 PM
Last activity: Nov 27, 2024, 12:17 PM
Last activity: Nov 27, 2024, 12:17 PM