Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate expired error connecting to tomcat download page #403

Open
vps8942 opened this issue Feb 15, 2024 · 1 comment
Open

Certificate expired error connecting to tomcat download page #403

vps8942 opened this issue Feb 15, 2024 · 1 comment

Comments

@vps8942
Copy link

vps8942 commented Feb 15, 2024

Getting the following error during chef-run. Is anyone else experiencing this.

OpenSSL::SSL::SSLError: remote_file[apache 9.0.81 tarball] (/var/chef/cache/cookbooks/tomcat/resources/install.rb line 77) had an error: OpenSSL::SSL::SSLError: SSL Error connecting to http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.81/bin/apache-tomcat-9.0.81.tar.gz - SSL Error connecting to https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.81/bin/apache-tomcat-9.0.81.tar.gz - SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)

dependencies - third-party cookbooks (sourced from 'supermarket')

depends 'tomcat', '>= 4.2.2'

@richid
Copy link

richid commented Feb 28, 2024

@vps8942 You'll need to modify your system's CA certificates. This Let's Encrypt blog post is a great, detailed description of the problem. To update your system CA certificates follow this guide. You'll then likely need to tell Chef to use the system certificates.

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants