HAProxy community

How to give ssl key password in haproxy config


Hi team ,i have configure HAPROXY after adding ssl option configuration service not starting .when i check the configuration with haproxy -f /etc/haproxy/haproxy.cfg -c …it is prompting the password for private key. please some one tell me how to enter password of ssl private key in config itself.


Did you get any response or solution to this ? I’m too getting the same issue.


You will have to decrypt the private key, so a password is not required. I’m not sure if systemd can help cover this case, but my strong suggestion would be to use an unencrypted key.

It does work of course if you start haproxy manually. But whether the startup script supports the same, is another question.