When I tried to add a server to haproxy using runtime api I was getting ‘ca-file: unable to load ca-certificates.crt’ error .
I have tried to add the server to the haproxy using the below runtime api command.
echo "add server backend-1/server-1 server1-ip:port check ssl ca-file ./ca-certificates.crt verify required verifyhost server-1.com " | socat stdio unix-connect:/var/run/admin.sock
If anybody faced this issue previously and have resolved the issue, pls help me!! Thank you advance
The haproxy version is 2.6