Prepare signature now accepts cert as HEX format, not raw cert format.