How to re-generate certificate for nodes elasticsearch to enable xpack

How to re-generate certificate for nodes elasticsearch after the password is generated for elastic cluster.
I re-generated the certificate for nodes, got the error
"client did not trust this server's certificate, closing connection Netty4TcpChannel{localAddress"

Is there way to re-generate certificates for nodes?
I used "bin/elasticsearch-certutil ca" and "bin/elasticsearch-certutil cert --ca elastic-stack-ca.p12 --dns localhost --ip 192.168.21.12 --out config/certs/node1.p12"

Thank You!

Can you clarify what you're trying to do here?
I don't really follow what you're asking.

Do you want to replace all the certificates in an existing cluster?

yes...I want to replace all nodes' certificates by re-generating all certificates.
Is it possible to do?

Thank You!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.