I think it's as indicated by the message: The license is invalid.
If you can view the page to apply a license, then the firewall settings should be good.
Did you try to insert all the module keys in the same input field, each as a new line?
Or maybe you have really old licenses and its a compatibility issue of the keys, in which case you'd probably need to have the keys converted.
Just to be clear, this is purchased license yes and not some eval keys?