OpenSSL::SSL::SSLError

Hi ,
I am installing Hopsworks 3.7 on Premises . The ‘‘elastic::default’’ recipe fails after being stuck in the ongoing status for around 3 hours and the logs show :

================================================================================
Error executing action run on resource ‘elastic_start[start_install_elastic]’
================================================================================

OpenSSL::SSL::SSLError
----------------------
elastic_http[poll elasticsearch] (/tmp/chef-solo/cookbooks/elastic/providers/start.rb line 46) had an error: OpenSSL::SSL::SSLError: http_request[get request] (/tmp/chef-solo/cookbooks/elastic/providers/http.rb line 24) had an error: OpenSSL::SSL::SSLError: SSL Error connecting to https://hopsworks-Standard-PC-i440FX-PIIX-1996:9200/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

From what I understood I need to ensure the full certificate chain is properly configured but for that I would need the root certificate which I couldn’t find on the certificate directory. Could you please let me know what should my next step from here be?