I got into trouble with certificate signing for multiple clients.
I solved this problem and write this issue to help others.
Error info:
failed in ReconnectLink [14:18:55] /home/xxx/federated-xgboost/rabit/include/rabit/internal/ssl_socket.h:26: X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
Stack trace:
...
First, generate a root certificate:
cd demo/basic/cert
bash gen-signer.sh
cp signer.crt root_cert.crt # rename root_cert.crt
I got into trouble with certificate signing for multiple clients. I solved this problem and write this issue to help others.
Error info:
First, generate a root certificate:
Second, issue a certificate to clients:
Since rabit set .crt and .pem file in c (
federated-xgboost/rabit/src/allreduce_base.cc
), we should rename crt and pem for client.