Vagrant Ubuntu error - certificate verify failed (certificate has expired)
Closed this issue · 2 comments
vatless commented
Hello,
trying to up Vagrant with ubuntu and getting certificate error:
SSL Error connecting to https://repo.hops.works/master/karamel-0.6.tgz - SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)
certificate at https://repo.hops.works seems valid. any ideas?
more logs:
==> default: Running handlers:
==> default: [2021-10-02T09:08:52+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default: [2021-10-02T09:08:52+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 13 resources updated in 04 minutes 04 seconds
==> default: [2021-10-02T09:08:52+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2021-10-02T09:08:52+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
==> default: [2021-10-02T09:08:52+00:00] FATAL: OpenSSL::SSL::SSLError: remote_file[/var/chef/cache/karamel-0.6.tgz] (karamel::default line 2) had an error: OpenSSL::SSL::SSLError: SSL Error connecting to https://repo.hops.works/master/karamel-0.6.tgz - SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
and stops .
Thank you
tkakantousis commented
Issue has been resolved, it was due to an expired LetsEncrypt root certificate.