fix non-ssl configuration