Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4718

Haproxy with hashicorp vault

$
0
0

Hello Everyone, I am becoming crazy configuring haproxy for hashicort vault.
I am using ubuntu20.04 with tcp pass thru.
If on the backend servers I install apache it works fine.
If on the backend I use vault it does non works: An error occurred during a connection to vault.nivolapiemonte.it:9443. PR_END_OF_FILE_ERROR
I am using same certificates in both cases.

resolvers vault
nameserver dnsmasq 127.0.0.1:5353

frontend default9443
mode tcp
bind *:9443
tcp-request inspect-delay 5s
acl is_vault req.ssl_sni -i vault.nivolapiemonte.it
use_backend vault if is_vault

backend vault
mode tcp
option ssl-hello-chk

option httpchk GET /v1/sys/health

server node0 10.138.219.69:8200 check maxconn 20 ssl ca-file /etc/haproxy/ssl/niv-ca.pem

server s1 podto1-vault01.nivolapiemonte.it:8200 resolvers vault resolve-prefer ipv4

Please help me.
Ignazio

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4718

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>