Haproxy error inconsistencies between private key and certificate loaded from PEM file





Error in haproxy with lets encrypt

error msg
bind *:443' : inconsistencies between private key and certificate loaded from PEM file '/etc/letsencrypt/live/

Need to create a new file

cat cert.pem privkey.pem > haproxy_cert.pem



Add in haproxy
frontend www
        bind *:80
        bind *:443  ssl crt /etc/letsencrypt/live/mydomain.com/haproxy_cert.pem

and make a test
haproxy -c -V -f /etc/haproxy/haproxy.cfg

Popular posts from this blog

Remote Server returned '550 5.2.3 RESOLVER.RST.RecipSizeLimit; message too large for this recipient'

Porque a centralização de arquivos?