try this with curl instead of openssl