Refactored to hide SimpleCertificate implementation and make render service stateless.