I got a script containing encryption to be used in a policy on Jamf (v10.71). When I excecute the script locally on the test device it uses openssl 1.1.1, when I execute the script on the same test machine, but initiated by a Jamf policy it uses openssl 0.9.8 8 (and subsequently fails due to unknown commands).
How can I force Jamf to use openssl 1.1.1 when executing the script?