How do I generate a new CA with hostname?

I need a new http_ca.crt file with the
Instead of Subject: CN=Elasticsearch security auto-configuration HTTP CA.

But how?


Have you seen Updating node security certificates | Elasticsearch Guide [8.2] | Elastic?

If it is only for HTTP, then you can keep the rest as is and regenerate your HTTP certificate/key material following Set up basic security for the Elastic Stack plus secured HTTPS traffic | Elasticsearch Guide [8.2] | Elastic

It is however strange that you need a CA certificate with a specific subject. Are you sure you are not trying to use this as the HTTP certificate of a node ?

1 Like

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