Certificate Generation Script

Hello everyone!
I need your advice on the open source structure of EdX.
Please help me which file in the file system is responsible for generating certificates. That is, where can I find the script or *.py file that is responsible for rendering certificates?
Thank you!


(I have the same question)