Fixed encoding of hash-and-url cert payload