El 09/08/2011, a las 13:54, 1T3XT BVBA escribió:
> I'm 99% sure this isn't an iText or Java problem, but a permission problem.
> For instance: setting a file to 777 is useless if the script doesn't have
> access to its directory.
You are of course totally right. When I put the certificate inside
On 9/08/2011 13:41, Petter Brox wrote:
fails on the line
"ks.load(newFileInputStream("/path/to/cert/certificate.p12"),
"password".toCharArray());" when I try to execute the Jar using the
PHP exec function
I'm 99% sure this isn't an iText or Java problem, but a permission problem.
For instance:
Hello,
I've made a simple jar to protect and sign PDFs where the signing part is
copied from this example:
http://itextpdf.sourceforge.net/howtosign.html#howtosign.
It works great from the command-line (Debian), but fails on the line
"ks.load(new FileInputStream("/path/to/cert/certificate.p12"