I'm expericiencing some issues when I try to digitally sign a pdf file. Basically, I'm getting an ErrorException chr() expects parameter 1 to be int, string given, in phpdocx/Classes/Phpdocx/Libs/TCPDF_lib.php, line 20818; I'm not sure if there's something I'm doing wrong at this point or if this is a genuine bug.
Also, forcing a workaround for this, I'm facing some issues with the openssl_pkcs7_sign(): error getting private key thrown from the same file (TCPD_lib.php) from line 32454; after some quick investigations, it seems it expects the cert files to be in the application's public folder.
Just to confirm, signing .docx files works with no issues.
Hopefully there is a workaround for the above issues with pdf sign.
Appreciate your help.