1
Tutorials and FAQs / Re: Tutorial 2022/08: HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating
« on: September 23, 2022, 02:56:22 pm »
Thanks, I updated my frontend config:
I think it matches your example but I still get errors in the haproxy log:
I looked a bit further and now I do see entries appearing in the OpenVPN logs so I will check those out first.
Code: [Select]
# Frontend: 0_SNI_frontend ()
frontend 0_SNI_frontend
bind 0.0.0.0:443 name 0.0.0.0:443
bind 0.0.0.0:80 name 0.0.0.0:80
mode tcp
default_backend SSL_backend
# tuning options
timeout client 30s
# logging options
# ACL: SSL_hello
acl acl_632625326b34a3.00256787 req_ssl_hello_type 1
# ACTION: Openvpn_map-rule
use_backend OPENVPN_backend if acl_632625326b34a3.00256787
# ACTION: tcp_request_inspect_delay
# NOTE: actions with no ACLs/conditions will always match
tcp-request inspect-delay 5s
# ACTION: tcp_request_content_accept_ssl
# NOTE: actions with no ACLs/conditions will always match
tcp-request content accept if !{ req_ssl_hello_type 1 }
I think it matches your example but I still get errors in the haproxy log:
Code: [Select]
2022-09-23T14:52:32 Informational haproxy 1.2.3.4:42250 [23/Sep/2022:14:52:32.904] 1_HTTPS_frontend/127.4.4.3:443: SSL handshake failure
2022-09-23T14:52:32 Informational haproxy Connect from 1.2.3.4:42250 to 4.3.2.1:443 (0_SNI_frontend/TCP)
2022-09-23T14:52:31 Informational haproxy Connect from 192.168.254.13:52460 to 192.168.254.1:443 (0_SNI_frontend/TCP)
I looked a bit further and now I do see entries appearing in the OpenVPN logs so I will check those out first.