-
Notifications
You must be signed in to change notification settings - Fork 1k
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
install.sh fails to download tpot.yml #1605
Comments
@rilstrats Tried to reproduce this without success. Is it possible the server / certificate in question has been fixed?
|
Interesting. I am trying this on a university campus so maybe it has something to do with network rules? I'll try it at home this afternoon and let you know. |
I am happy to adjust the script to use the proposed URL, but understanding the reason why I cannot reproduce it would awesome. So looking forward to your re-test(s). |
Issue
I am running the install script on Fedora Linux 40 (Server Edition). It hangs on the section
### Now downloading T-Pot Ansible Installation Playbook ...
. Looking at the source code, the command it hangs on is:The issue is that the url https://github.com/telekom-security/tpotce/raw/master/installer/install/tpot.yml redirects to https://github.com/raw/telekom-security/tpotce/master/installer/install/tpot.yml, causing wget to hang. I've researched the reason, and it seems to be most likely caused by an untrusted certificate.
I'm happy to make a pull request if desired, just let me know which solution you'd prefer!
Solution
It seems that the easiest solution would be to replace the URL with it's resolved URL:
Please note that the issue can also be fixed using the
--no-check-certificate
, but this seems like a more insecure option.Alternative Solution
Alternatively, wget could be removed (resulting in one less item that must be downloaded), and just use
curl
:Off-Topic
Also, note that the command in the readme using curl, uses one of the links that doesn't work with wget. For some reason curl can complete the command correctly, but wget is unable to.
env bash -c "$(curl -sL https://github.com/telekom-security/tpotce/raw/master/install.sh)"
Perhaps this link should be changed as well?
env bash -c "$(curl -sL https://github.com/raw/telekom-security/tpotce/master/install.sh)"
Logs
Here is my log from debugging the command as well:
wget.log
The text was updated successfully, but these errors were encountered: