[stunnel-users] Boot Password

Jan Meijer jan.meijer at surfnet.nl
Sun Oct 30 02:49:01 CEST 2005

On Thu, 27 Oct 2005, Bob wrote:

> I need to use signed certificates with stunnel. New to the whole certificate
> thing. I have the certificate and key and built the .PEM file but when I try
> to start stunnel in the background it asks me to enter the PEM password. How
> can I enter the password and have stunnel start during boot?

By not having it ask for a password if you're not there to enter the
aforementioned password.  You can make a key passwordless by the waving
your magic wand and typing:

openssl rsa -in <password-protected-key.pem> -out <passwordless-key.pem>

assuming you are using an RSA key.

Naturally you understand the security risks of having a key without a
passphrase, weighed it against the change of the machine the key is on
being hacked and thinking about the consequences of said hack taking
place.   If not, maybe think through that first? ;).


More information about the stunnel-users mailing list