Self-signed certificate in certificate chain

Hello there,

i've encountered a old/new problem since i updated my kibana to the newest version.

First of all my kibana.yml

server.port: 5601
server.publicBaseUrl: "htt.p://siteurl"
server.ssl.enabled: true
xpack.fleet.registryProxyUrl: "htt.p://myproxy"
server.ssl.keystore.path: "path/to/my/keystore"
server.ssl.keystore.password: ''
server.ssl.truststore.path: "path/to/my/keystore"
server.ssl.truststore.password: '
'
elasticsearch.ssl.keystore.path: "path/to/my/keystore"
elasticsearch.ssl.keystore.password: '*****'
elasticsearch.ssl.verificationMode: certificate
elasticsearch.ssl.certificateAuthorities: [ "/path/to/my/pemchain" ]

I get this error:

kibana[10448]: [2024-12-06T15:04:49.817+01:00][ERROR][plugins.fleet] Failed to fetch latest version of synthetics from registry: Error connecting to package registry: request to http.s://epr.elastic.co/search?package=synthetics&prerelease=true&kibana.version=8.16.1 failed, reason: self-signed certificate in certificate chain

In older versions you just had to add patch to the pemchain in "/usr/share/kibana/bin/kibana" like that:

NODE_EXTRA_CA_CERTS="/path/to/my/pemchain"

and it worked.
So whats the deal with the newest version?

Best regards.

push