Remove set_if attribute for the ssl check

fixes #6782