Blank Certificate on CoursePress Pro

When i create a certificate it first gave the error that it couldn't make the cache dir. I made the /external/tcpdf/ folder writable, that was a fix.

But now it creates a certificate, but that's blank.
When i look into the folder i see that the pdf is created, but is has CHMOD 644. Could that be the problem (that it's not writable)?