Got rid of env variable when using OpenSSL, using named pipe instead