env problem with curl and ssl