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

Rancher Vagrant Quickstart cannot get past curl - certificate expired #219

Open
jac121212 opened this issue Feb 3, 2023 · 2 comments
Open

Comments

@jac121212
Copy link

I'm trying to deploy rancher with Vagrant and virtualbox with the QuickStart installation guide:
https://rancher.com/docs/rancher/v2.6/en/quick-start-guide/deployment/quickstart-vagrant/

==> server-01: Loading metadata for box 'chrisurwin/RancherOS'
server-01: URL: https://vagrantcloud.com/chrisurwin/RancherOS
==> server-01: Adding box 'chrisurwin/RancherOS' (v1.5.1) for provider: virtualbox
server-01: Downloading: https://vagrantcloud.com/chrisurwin/boxes/RancherOS/versions/1.5.1/providers/virtualbox.box
server-01: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--):--)
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

Any idea how to get round this (by editing the vagrantfile?)

@bashofmann
Copy link
Contributor

For me vagrantcoud.com has a valid TLS certificate, which is not expired. If this is still happening: Do you maybe have some corporate HTTP proxy in between, which breaks TLS?

You can of course always disable TLS validation for the box download: https://developer.hashicorp.com/vagrant/docs/vagrantfile/machine_settings#config-vm-box_download_insecure.

@stefanlasiewski
Copy link

This issue should be closed.

Vagrant renewed their certificate last year and it works:

$ curl -vI https://vagrantcloud.com/chrisurwin/RancherOS 2>&1 |grep date
*  start date: May  8 00:00:00 2023 GMT
*  expire date: Jun  4 23:59:59 2024 GMT

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

3 participants