On Windows, this seems to work for the browser plugin, but the .ocx (used e.g. by the JPEXS Flash decompiler – they also have a built-in player, but that unfortunately seems somewhat buggy) didn't like the expiration time stamp being set to infinity. Setting some other time stamp far in the future does work though, even if philosophically it's not quite the same as literal infinity.
Thanks a lot! The page you linked did work; I had to copy the Flash folder elsewhere, used a hex editor to find the timestamp in my Flash.ocx file, then I renamed the original folder to Flash.bak and copied the modified one in its place, and my application works again!