It might be a silly question but I will go for it anyway…
due to some backward compatibility I only adjusted part of the calling script chain. there is a reason why I call it twice but let's leave it for now.
so does calling remote bash script via https which then call another bash script with http consider secure?
something like this:
curl --capath /certdir/ https://mydomian.com/scripts/script1.sh | bash
script 1 look like this:
curl http://mydomian.com:1080/scripts/script2.sh | bash