RANCHER-TLS Certificate

Hello !
I created a custom webhook to generate certificates from the LetsEncrypt Staging API for Rancher’s web UI. To pass the certificate to Rancher, I used two options:
--set ingress.tls.secretName=secret-name
--set ingress.tls.source=secret.
However, when attempting to add an RKE Downstream cluster, I encountered an error and was unable to proceed.

Doing /etc/rancher/ssl ls: cannot access 'docker-machine-driver-*': No such file or directory downloaded file failed sha256 checksum download of driver from https://rancher.example.com/assets/docker-machine-driver-outscale failed

The error message you provided indicates that there is an issue with downloading the docker-machine-driver files from the specified URL. This error could occur due to various reasons, such as network connectivity problems, incorrect URL, or a problem on the server hosting the files.

Here are some troubleshooting steps you can follow to resolve the issue:

  1. Verify the URL: Ensure that the URL you specified is correct and accessible. Double-check for any typos or mistakes in the URL. Additionally, make sure that the server hosting the files is up and running.
  2. Check network connectivity: Ensure that your server has proper network connectivity to reach the URL and download the files. You can try accessing the URL from a web browser or using tools like curl or wget to verify if you can download the files manually.
  3. Validate the SSL certificate: If the URL uses HTTPS, ensure that the SSL certificate is valid and trusted by the server where you’re attempting to download the files. You can check the SSL certificate using tools like openssl or by visiting the URL in a web browser.
  4. Verify the file path and permissions: Ensure that the file path mentioned in the error message is correct and that the user running the process has sufficient permissions to access the file. Make sure the files exist and are accessible.
  5. Check Rancher configuration: Review your Rancher configuration and ensure that the necessary settings for the docker-machine-driver are properly configured. Double-check any relevant configuration files or settings specific to your setup.
  6. Test with a different file: If possible, try downloading a different file from a different source to see if the issue is specific to the docker-machine-driver files or if it’s a more general problem with downloading files on your system.

If none of the above steps resolve the issue, including the specific versions of Rancher, any additional configurations you have made, and any relevant logs or error messages you receive during the process.