Getting "unable to verify the first certificate" error from OpenSearch Dashboards in k8s

The OpenSearch chart config has a similar config to OpenSearch Dashboards and it is not adding that extra |:

image

I just changed what I had in the previous post to this:

config:
    opensearch_dashboards.yml:
      opensearch:
        requestHeadersWhitelist: ["securitytenant", "Authorization"]
        username: "some username"
        password: "some password"
        ssl:
          certificateAuthorities: /usr/share/opensearch-dashboards/config/certs/root/root-ca.pem
          verificationMode: full
      opensearch_security:
        cookie.secure: false
      server:
        name: "awesome server name"
        ssl:
          enabled: true
          certificate: /usr/share/opensearch-dashboards/config/certs/client/client.pem
          key: /usr/share/opensearch-dashboards/config/certs/client-key/client-key.pem

And it immediately picked up the config changes. OpenSearch Dashboards now boots correctly with SSL.

Is this a bug?