Hello,
It seems that there was a problem in the certificate that was generated. I checked the certificate with openssl
and was seeing Validation Errors. We produced a new certificate for Elasticsearch and now everything is working fine. Hope this helps anyone who comes across this thread in the future.