Write certificate on read instead of write.
[#81019816]