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