spring-cloud-consul Download Issue
Symptom
If the message "cannot verify certificate" is displayed when you use wget to download software, Consul cannot be downloaded when you run the src/main/bash/travis_install_consul.sh script.
Key Process and Cause Analysis
Certificate verification fails. Use the --no-check-certificate option to ignore certificate verification.
Conclusion and Solution
- Open the src/main/bash/travis_install_consul.sh script.
vim src/main/bash/travis_install_consul.sh
- Change the code in line 5 from:
IGNORE_CERTS="${IGNORE_CERTS:-no}"To:
IGNORE_CERTS="${IGNORE_CERTS:-yes}"When the script uses wget to download software, the --no-check-certificate option is automatically added to avoid download problems.

- Press Esc, type :wq!, and press Enter to save the file and exit.
- Run the src/main/bash/travis_install_consul.sh script again.
./src/main/bash/travis_install_consul.sh
Parent topic: Troubleshooting