AquaticPrime is a shareware registration system. It provides public-key signing and verification of arbitrary license files (meaning you can include any information you want in your application’s license file), and has implementations in multiple languages for easy webserver implementations. It is also totally free and BSD-licensed open-source software.
More info at http://www.aquaticmac.com/