Fixed ssl enforcing