- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2024 04:39 AM
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
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 02:07 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 08:33 PM
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.
- Use this command to generate private key:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to generate public key:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to generate certificate:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to create keystore:
openssl pkcs12 -export -in mycert.pem -inkey private_key.pem -out keystore.p12
- Then upload keystore.p12 file into your alfresco. When signing a document, just choose this file. I'm not sure which password I input is password and which one is keystore password, so I simply use the same.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 02:07 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 02:56 AM
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.😁
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 05:03 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 08:33 PM
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.
- Use this command to generate private key:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to generate public key:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to generate certificate:
openssl genpkey -algorithm RSA -out private_key.pem -aes256
- Use this command to create keystore:
openssl pkcs12 -export -in mycert.pem -inkey private_key.pem -out keystore.p12
- Then upload keystore.p12 file into your alfresco. When signing a document, just choose this file. I'm not sure which password I input is password and which one is keystore password, so I simply use the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 04:54 AM
Hi,
Thanks again, @HelloKittyCatSw . I've created p12 key from certificate and private key and uploaded it as a regular file to Alfresco.
