troubles with ssl in production