Given the vagueness of your issue and my inability to see your PDFs on your hard drive...the issue is more than likely with the cert you are using to sign your PDFs and not with your code. I am guessing it is a self signed cert and not one from a CA.
Basically if you are generating the cert yourself, it has to be added to the keystore of your computer as a trusted cert. But unless you plan on installing that same cert on all of your computers, your Signed PDF is going to indicate issues if it is on a computer that hasn't had your self signed cert installed.
In order to have it where your PDF is signed and globally acknowledged as "Safe" you need to visit a Certificate authority (i think thats what CA stands for, to lazy to google) and get an authorized digital certificate to sign your PDFs with.
Adobe PDF Document Signing From Digicert.com[
^]
PDF Signing Certificate[
^]
Entrust Document Signing Certificates | Entrust[
^]
In order to provide your own signed certs there is hardware you can by...its called HSM...that manages your certificates. Its like 20k/year and is the same method docusign uses for signing their pdfs.