Sign PDF in a valid way

Solution for Sign PDF in a valid way
is Given Below:

How can I sign a PDF in a valid way? I already have a valid pfx file, but when I sign the pdf file with the node-sign lib, acrobat points the signature as not valid. It tells that I need to get the timestamp from an authority server… I’m willing to use any coding language.