Couldn't you just sign the file yourself with a self-generated certificate and add said certificate to the trusted store?