haproxy - unable to load SSL private key from PEM file

后端 未结 9 1570
悲哀的现实
悲哀的现实 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:09

    For me the problem was caused by this line in combined PEM file:

    -----END CERTIFICATE----------BEGIN RSA PRIVATE KEY-----
    

    After I split it I could start HaProxy and load it OK:

    -----END CERTIFICATE-----
    -----BEGIN RSA PRIVATE KEY-----
    

提交回复
热议问题