Provisioning mode via HAPROXY #1871
Unanswered
nfmanasd28
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@kkersten @IsaacYangSLA do you know how to set the HAPROXY config as reverse proxy ? I have seen ngnix config. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@nfmanasd28 , I believe in your configuration, the TLS terminates at HAPROXY. However, NVFlare is using mutual TLS, which means the server also need to get client's certificates to verify client's identity. You will need to configure your HAPROXY to support mTLS. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to setup NVFlare such that there is HAPROXY as a reverse proxy between the servers and the clients.
This is the current setup I am using:
The server and admin are deployed on same machine, MACHINE_A, HAPROXY on MACHINE_B and 2 clients on MACHINE_A (For testing purposes).
The project.yml is as follows:
My HAPROXY config looks like this:
CERT_SERVER: pem certificate which contains the nvflare server certificate and key
CERT_ROOT_CA: ROOT_CA nvflare certificate
After starting the server, when I am trying to start the client,
I get the following logs on HAPROXY:
nvflare_mtls~ nvflare_mtls_server/s2 11/1/12 0 -- 1/1/0/0/0 0/0
and the following in the NVFlare server:
Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_in ternal:WRONG_VERSION_NUMBER.
Can you help me tackle this?
Beta Was this translation helpful? Give feedback.
All reactions