I successfully created and signed a pdf file, following the above blog post of Christian (with a forthcoming MBS plugin function).
I used a self-signed certificate, generated with OpenSSL on my Mac. Of course, when opening such PDF file, then Acrobat complains that the signature is not trusted.
Does anyone know of a low-cost or free way to get a trusted certificate for pdf files?
btw, in order to create a self-signed certificate, I did the following in terminal:
[code]Generate a self-signed certificate using the OpenSSL:
– Generate a private key and a public certificate
openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 365 -out certificate.pem
– Review the created certificate
openssl x509 -text -noout -in certificate.pem
– Combine your key and certificate in a PKCS#12 (P12) bundle:
openssl pkcs12 -inkey key.pem -in certificate.pem -export -out certificate.p12
@ Loannis : Thank you! This is what I did and it works.
However, we send out invoices by email and I would like them to be easily readable for our clients - and secure at the same time. Therefor we will have to buy a certificate, but I wonder if there is any low-cost or free solution (like letsencrypt for ssl certificates), also for pdf files?
You could check what root certificates are included with adobe reader by default and wether one of your ssl or signing certificates would work.
Just as an idea.
I know you want to do this.
But I am curious why you need to.
An invoice is a demand for payment.
If the customer amends it to a lower figure, you won’t accept a lower payment from them no matter what they say it says.
If they change it to a higher figure, why would they?
What can anyone do to an invoice that causes you a problem?
I can imagine someone might amend a receipt for fraudulent means and pretend to their accounts that they paid you more money.
But even then, that’s not your problem, is it?
[quote=368489:@Oliver Osswald]I think we can add a level of trust here, increase confidence to make use of the ‘pay with paypal’ button, which is on the pdf invoice.
But technically, it is not really necessary, I agree.[/quote]
if you find a lower cost certificates (other than making our own) for this, please let us all know.