I'm having difficulty in getting post-trial registration to work. The scenario would be a trial with maintenance period. The trial portion appears to be successfully set up in the AIP, in the application, and in the server PHP. I've used code based off of the samples.
On the server I have created a database table with the ID and Maintenance Plan end date. The exported (protected) PEM containing the private key is also available at the server. In the app registration I enter an ID, the server proccess this (recognizing the ID in the table) and it outputs the response in the form of
ID=xxx;MP=3/30/2019;SIGN=zzz
where zzz is the "ID=xxx;MP=3/30/2019" portion encrypted with the private key. This return is verified by using fiddler at the app end. But the app complains that "The registration key is invalid".
It is not clear to me what the purpose of "Generate License Dialog" is, but if I enter the same ID and MP date in that tool for the project it seems to produce a different signature. Clearly I am missing something here. Any ideas on what it might be or additional troubleshooting to be done?
FOLLOW US
Get the latest news in Application Packaging