Issue with securityadmin script using lets encrypt intermediate certificate

Hello, I am experiencing an issue with running securityadmin script to apply the changes in security config. I have generate node certificates by Lets encrypt CA and tried to generate an admin certificate with an intermediate certificate. when starting script it throws an error

[2019-12-20T23:33:10,939][ERROR][c.a.o.s.s.t.OpenDistroSecuritySSLNettyTransport] [870a94141753] SSL Problem PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Hey @Garvold

Were you able to resolve that issue? I am having a similar problem.

Thanks

Yes, I have generated admin certificates based on intermediate certificate. I’ve used search guard tool to generate admin certificate.

1 Like

Thanks. I will give that a try.