How to generate Key, Alias and Pswd for digital signature?

cancel
Showing results for 
Search instead for 
Did you mean: 
Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

Many thanks Angel, will give it a shot tomorrow.

I'll let you know how it goes.

Regards

 

Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

Hello @angelborroy happy labor day!!Smiley Happy

I believe i got it working.

I could sign a PDF with Autofirma with my key stored on local.key (a dir I chosen), but I did this in my pc, locally.

Sin título.jpg

If i want to drop a PDF to Alfresco and hit the "Sign Document" i don't see the options I see in AutoFirma

Supouse I drag an electronic bill that needs to be signed, I it sign pdf an this appears

 

1.jpg

 

Is there a way to sign inside Alfresco? Or as Im as and Administrator I cant see the chocie?

Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

Hi @angelborroy 

What I posted below is it ok? is there a way to sign a document inside Alfresco as shown in the picture i put above?

Whe hit the button, those are the options I have, and it keeps on loading like waiting for someting.

The doc has already been signed with AutoFirma, but inside Alfresco, I can not make it work

 

Sin título.jpg

angelborroy
Alfresco Employee

Re: How to generate Key, Alias and Pswd for digital signature?

I don't know what you mean...

Did you see this video?

https://www.youtube.com/watch?v=Ho8gKwAyfLE

Did you read project documentation in order to understand the different configuration options?

https://github.com/keensoft/alfresco-esign-cert#configuration

 

Hyland Developer Evangelist
Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

Yes, I've seen the video and now realized I dont have those files on global.properties.

2.jpg

The problem is when i hit the sign pdf document inside Alfresco, it keeps loading and loading. Could that be the readon

It wont allow me to move forward as it keeps loading 

Sin título1.jpg

There's no advertisement, just keeps loading

Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

@angelborroyI'll put step by step what i've done so far so you can get the whole picture (I will write in spanish, if it's need to be modified or translatded, no problem)

1- Instalacion Alfresco 5.2 en Ubuntu 18.04 en VirtualBox

2- Copia de AMP y APMP_share 1.7.2 en sus dirctorios

3- Instalacion cliente AutoFirma en pc local

4- Generacion de la cclave con Toolkit

5- Copiar y pegar los parametros correspondientes en alfresco-global.properties

6- Puedo firmar un documento localemente en Windows con AutoFirma y mi certificado

Sin título.jpg

EL problema es que cuando quiero firmar con el boton "firmar pdf" se queda cargando esperando el componente de firma y el aviso de seguridad, y eso es lo que no aparece.

A esto me refiero: Sin título.jpg

Espero se haya entendido donde esta la traba!

Muchas gracias.-

angelborroy
Alfresco Employee

Re: How to generate Key, Alias and Pswd for digital signature?

Try browser Debugger Console to find the problem.

Hyland Developer Evangelist
Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

This is what I see

1111111.jpg

 

qwqq.jpg

 

But how is this related with signing the document?

angelborroy
Alfresco Employee

Re: How to generate Key, Alias and Pswd for digital signature?

The application is being fired by using a local protocol. You need to disable CORS in order to allow the application to be launched from the browser.

Hyland Developer Evangelist
Martinvaz
Active Member II

Re: How to generate Key, Alias and Pswd for digital signature?

I've been reading in stackoverflow and other forums and see no way to disabl CORS in Firefox (the browser i user in th VM)

Is there a flag or something to disable it?