2 weeks ago
Hi,
I have Alfresco v23.2 and I need a solution to sign PDF documents. I have tried PDF toolkit (v1.4.0) and esign-cert (v1.8.2) but without any success as Alfresco application does not start, in both cases.
Could you please, suggest an add-on or module compatible with my setup?
Thanks in advance.
Kind Regards, Darko
Wednesday
Hello, I currently use alfresco 23.2 too and I face the same problem. In Github, I find this project: https://github.com/abraira85/alfresco-pdf-sign.
Although according to his description, perhaps this project only supports alfresco 7.4, I have already run this amp in my alfresco. However, I did'nt find out how to use this signature tool. You could have a try.
Wednesday
As I tried, my environment is Ubuntu 22.04, and I used "openssl" tool to generate private key with ".p12" format, which was compatible with alfresco-pdf-sign project. And the prequisite condition is that you already configure Java in your system, also make sure these two softwares are compatible.
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl pkcs12 -export -in mycert.pem -inkey private_key.pem -out keystore.p12
Wednesday
Hello, I currently use alfresco 23.2 too and I face the same problem. In Github, I find this project: https://github.com/abraira85/alfresco-pdf-sign.
Although according to his description, perhaps this project only supports alfresco 7.4, I have already run this amp in my alfresco. However, I did'nt find out how to use this signature tool. You could have a try.
Wednesday
I'm gladly to tell you that I successfully integrate this project with my alfresco. When signing a document, you should upload a private key(namely in the format of pcks12), then you can tag it fluently. And you don't worry about several signature may ruin a document from its origin looking, it can create different version automatically. This project is worth using!
By the way, of course a bigger signature will enlarge the document size more.😁
Wednesday
Hi,
I've successfully installed the module and the signing option appeared as shown in the screenshot. Thank you very much @HelloKittyCatSw .
Now I have to find out how to create a private key and import it into Alfresco.
Wednesday
As I tried, my environment is Ubuntu 22.04, and I used "openssl" tool to generate private key with ".p12" format, which was compatible with alfresco-pdf-sign project. And the prequisite condition is that you already configure Java in your system, also make sure these two softwares are compatible.
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl genpkey -algorithm RSA -out private_key.pem -aes256
openssl pkcs12 -export -in mycert.pem -inkey private_key.pem -out keystore.p12
Thursday
Hi,
Thanks again, @HelloKittyCatSw . I've created p12 key from certificate and private key and uploaded it as a regular file to Alfresco.
Explore our Alfresco products with the links below. Use labels to filter content by product module.