A flavivirus signal peptide balances the catalytic activity of two proteases and thereby facilitates virus morphogenesis.