I try to setup SSL termination with haproxy as a test stand. It serves the test page on 80 port well, but on 443 port chrome shows a warning that ssl connection is not secure and the icon with https stricken through.
I created certificate with these commands:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout web.key -out web.crt cat web.crt web.key > web.pem
with Common name defined as
Also I put
haproxy.com to my
Here is the excerpt of haproxy:
frontend main bind *:80 bind *:443 ssl crt /root/web.pem mode http default_backend app backend app balance roundrobin server app1 127.0.0.1:8080 check server app2 127.0.0.1:8081 check
How can I manage this warning?