I'm about to use some new domain names so I've created certificates (for client01, client02, clientXX, and server with the certgen tool) for tenants that will be shipping logs (via filebeat) to an Nginx instance which then sends the logs to a local Kafka cluster. When creating the certs, i've set the CN to be set to the domain used for the endpoint, for example "logs.example.com".
Unfortunately, for the root CA cert, the CN is "Elastic Certificate Tool Autogenerated CA" and when a filebeat client attempts to connect to the Nginx instance, it shows the following error:
Is there any way I can change the CN for the generated root CA certificate? Keep in mind that I currently have the same setup running with an older domain (certs not generated with the certgen tool) which the root CN is "*.example.com" and it's working file.