[core] don't fail when restarting from non-ssl