Strikingly, IL-17A blockade during infection decreased IgG2a and IgA antibody levels as well as IFN-γ production, leading to an increase in mortality of vaccinated mice. Here, IL17A is linked to infection.