> For the complete documentation index, see [llms.txt](https://docs.editran.onesait.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.editran.onesait.com/documentacion-editran/connect-3.2/firma/firmadeficheros/detallefichero/firmar.md).

# Firmar

Esta funcionalidad se encuentra disponible exclusivamente para los usuarios de rol firmante que tengan permiso de firma en el *grupo de ficheros* al que el sistema ha asignado el documento.

El certificado de clave privada con el que se va a firmar siempre será el correspondiente a uno de los certificados de clave pública que el firmante tiene configurados en su perfil de Connect. El firmante puede conocer con qué certificado debe actuar consultando el dato en la propia vista **Detalle del fichero**.

![Botón Firmar](https://3859228011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2jqgE5yyM3S58JKHROiz%2Fuploads%2Fgit-blob-e564010f8a1f21d7e201f1aaef8f8ad12a37614b%2F06_boton_firmar.png?alt=media)

Para que la firma se considere segura, esta debe llevarse a cabo allí donde reside el certificado de clave privada. Por esta razón, dependiendo de la localización de dicho certificado, la operación de firma se lleva a término de diferente forma en cada caso.

📌 **Recuerda**

> Indicar la localización de los certificados de clave privada en la configuración de manera correcta es determinante para que el proceso se pueda llevar a cabo convenientemente.

![Configuración de un certificado del firmante](https://3859228011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2jqgE5yyM3S58JKHROiz%2Fuploads%2Fgit-blob-9118c2cafe8c4e0c0cea57de8737a8799a81e0df%2F05_configuracion_certificado_firmante.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.editran.onesait.com/documentacion-editran/connect-3.2/firma/firmadeficheros/detallefichero/firmar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
