haproxy - unable to load SSL private key from PEM file

后端 未结 9 1557
悲哀的现实
悲哀的现实 2021-02-05 00:41

haproxy does not start anymore, it shows the error

bind :443\' : unable to load SSL private key from PEM file ...

We did not change a

9条回答
  •  别那么骄傲
    2021-02-05 01:01

    Did you append your certificate's private key to the end of the file?

    HAProxy requires a "full chain" - certificate, intermediate authority (if you have one), and then private key. E.g.:

    cat cert.pem cert.key > /haproxy/certs/fullchain.pem
    

提交回复
热议问题