See the note here:
Storing trusted certificates in a PKCS#12 file, although supported, is uncommon in practice. The
elasticsearch-certutiltool, as well as Java’skeytool, are designed to generate PKCS#12 files that can be used both as a keystore and as a truststore, but this may not be the case for container files that are created using other tools. Usually, PKCS#12 files only contain secret and private entries. To confirm that a PKCS#12 container includes trusted certificate ("anchor") entries look for2.16.840.1.113894.746875.1.1: <Unsupported tag 6>in theopenssl pkcs12 -infooutput, ortrustedCertEntryin thekeytool -listoutput.
In general, you cannot use openssl to create a PKCS#12 truststore for Elasticsearch.
Since you already have a PEM formatted CA (root.crt) you should use that directly.