The PDF Certificate relies on the browser's built-in print-to-PDF. It is a really simple page, but has been tested in each major modern browser. There was a client side library called JSPDF which looked really cool - and would provide a <button> to click on, but it was huge, didn't support CSS, and I didn't feel like I could trust the library without understanding it.