/bin/env doesn't exist on debian systems while /usr/bin/env exists on both debian and redhat systems.  without correcting this stunnel::certificate cannot build a PEM certificate.