我已经安装了HAPRoxy 1.5-dev19,并且我正在尝试使用SSL进行绑定.
我在/ etc/ssl/certs密钥中生成了openssl证书并验证它们在那里并且看起来很好,并更新了haproxy.cfg,如下所示:
openssl req -nodes -x509 -newkey rsa:2048 -keyout /etc/ssl/certs/private.key -out /etc/ssl/certs/cert.pem -days 2000
前端XRE绑定*:9045 ssl crt /etc/ssl/certs/private.key
但我仍然得到:
解析[/etc/haproxy/haproxy.cfg:48]:'bind:443':无法从PEM文件'/etc/ssl/certs/private.key'加载SSL证书.
代理'haproxyLoopback':在[/etc/haproxy/haproxy.cfg:48]没有为bind':443'指定SSL证书(使用'crt').
感谢您的帮助,非常感谢,查理