System and method for producing a digital certificate