fix SSL in production