Having trouble with Google docs and PDF signature

cancel
Showing results for 
Search instead for 
Did you mean: 
EddieMay
Alfresco Employee

Re: Having trouble with Google docs and PDF signature

@Martinvaz,

I'd recommend raising an issue on the github page - there might be some similar posts here in the Hub you could look at?

Good luck!

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Martinvaz
Active Member II

Re: Having trouble with Google docs and PDF signature

Hi @EddieMay finally i came up with the solution for the pdf toolkit installation.

What Im facing now is how to sign the documents, because it asks me a private key, aliase, and password.

Do you know how or where to generate them?
This is where I got the amp and amp_share: https://github.com/OrderOfTheBee/alfresco-pdf-toolkit/releases

But it does not say where to o how to generate those.

Regards,

EddieMay
Alfresco Employee

Re: Having trouble with Google docs and PDF signature

Hi @Martinvaz,

With this extension you have to create your own private/public key certificate. Then when an individual signs a document they must add their alias & pswd as part of the “action” to sign the document. There's an overview here => https://www.youtube.com/watch?v=cJYpFgx037E 

A problem with this package is I don't think it is compliant with GDPR & privacy rules in Europe - I think Argentina's rules are similar to those in Spain? 

It was for these reasons that this extension was developed => https://github.com/keensoft/alfresco-esign-cert. This should work with 5.2. 

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Martinvaz
Active Member II

Re: Having trouble with Google docs and PDF signature

Hi @EddieMay i managed to install both amp files, but still having trouble :/
When I hit the PDF Sign a message appears

"The signature component is being initialized. You must accept the security notices for it to load correctly."

And it keeps loading..

What I did was

Stop the server
Copy the amp and amp_share in their directories
run the script applys.sh
Start server again

As said before, it shows the PDF Sign, but te message above doesnt go away.

Dont know if I have to install anything else, or Maven or something like that :/

EddieMay
Alfresco Employee

Re: Having trouble with Google docs and PDF signature

Hi @Martinvaz,

When you say you installed both amps, are you saying you have both OOTB PDF-Tooklite-sign-cert intalled? Or do you mean the two amps of the e-sign-cert (repo & share)? 

I will try to install it myself later in the week to see how I get on.

Cheers,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Martinvaz
Active Member II

Re: Having trouble with Google docs and PDF signature

@EddieMay From pdf toolkit 1.4.0 I've installed both amp files in /var/www/html/alfresco/amps and /var/www/html/alfresco/amps_share

The e-sign cert I dont know if they're installed because it's giving me a page not found error.
The remaining stuff like this:

esign-cert features
AutoFirma local application for computers is currently supported only for Windows, Mac OS and Linux.

Available for download at AutoFirma
Source code available at clienteafirma

or this

Building the artifacts
If you are new to Alfresco and the Alfresco Maven SDK, you should start by reading Jeff Potts' tutorial on the subject.

You can build the artifacts from source code using maven
$ mvn clean package

You can build the artifact repo with the dependency itextpdf 5.0.6, it works from Alfresco 5.0.d to 201704 $ mvn clean package -P5.0.d

Signing the applet
You can download plain applet from http://forja-ctt.administracionelectronica.gob.es/web/clienteafirma

Oracle jarsigner can be used to perform a signature on miniapplet-full_1_6_2.jar. To deploy this change, just replace current JAR for your signed JAR and rebuild the artifacts.

Below a sample jarsigner invocation is provided

$ jarsigner -storetype pkcs12 -keystore keensoft_sign_code_valid-until_20170811.pfx miniapplet-full_1_5.jar -tsa http://

Don't have a clue what to do or how to install, if there's anything to install what i copyed below.

This is the exact same problem Im having:  https://hub.alfresco.com/t5/alfresco-content-services-forum/can-t-sign-pdf-using-pdf-toolkit/td-p/26...

Dont know how or where to generate the keys, passwords, aliases, etc
If the 1.4.0 amps files are installed, do you suggest to install also e-sign repo and share in case I didn't?

Martinvaz
Active Member II

Re: Having trouble with Google docs and PDF signature

Hi @EddieMay sorry to bother.

Have you had the chanc to look at this?

In my post below this, I put everything I've tried so far.

Thanks in advance!

EddieMay
Alfresco Employee

Re: Having trouble with Google docs and PDF signature

Hi @Martinvaz,

Sorry, not had a chance yet. Will update you asap.

Cheers, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!