> 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/ibm-editran-v5.3-iseries/editran-ff/configuracion-de-editran-xades/configuracion-de-los-certificados-a-firmar/fichero-truststore.sh.md).

# Fichero truststore.sh

En la instalación de Editran/XAdES se suministra un fichero TrustStore, trustStore.pfx en la carpeta /rsc/truststore/ (en el ejemplo XAdES /rsc/truststore/trustStore.pfx), con varias CA ya incorporadas. Este almacén es de tipo PKCS12 pero no contiene claves, sólo certificados que son públicos.

Se ha incluido un script para el manejo del fichero TrustStore, gestor\_truststore.sh, que nos facilita la incorporación y borrado de las CA que consideremos que el producto debe aceptar y, además, con el que se puede modificar la contraseña de este fichero (por defecto “password”).

La ejecución de dicho script nos muestra lo siguiente:

<figure><img src="https://4041620437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80nfuaOloGPZthms7LSJ%2Fuploads%2Fgit-blob-1345cbc8eb3d17c8613f36bb6e015b142994d237%2Fimage%20(119).png?alt=media" alt=""><figcaption></figcaption></figure>

Elegimos el truststore por defecto. Nos aparece el siguiente menú:

<figure><img src="https://4041620437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80nfuaOloGPZthms7LSJ%2Fuploads%2Fgit-blob-392748209c1e9b8a4879c410d996d634f34aeb79%2Fimage%20(122).png?alt=media" alt=""><figcaption></figcaption></figure>

pción 1: nos mostrará un listado numerado de los certificados de la CA que contiene y volverá a mostrar las opciones disponibles.

Opción 2: Introduzca la ruta al certificado (.cer, .crt):

Se debe poner la ruta completa del fichero en el que se encuentre el certificado y si la CA no existe, la incorporará.

Opcion 3: Nos mostrará el mismo listado que con la opción 1 y pedirá:

Introduzca el número del certificado a borrar:

Opcion 4 Nos aparece:

<figure><img src="https://4041620437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F80nfuaOloGPZthms7LSJ%2Fuploads%2Fgit-blob-1ab5eac9203be7bc27b7e6d1907473a9267221e4%2Fimage%20(123).png?alt=media" alt=""><figcaption></figcaption></figure>

Si el truststore modificado es el que se encuentra definido en xades.properties, recuerde actualizar el valor de "passTrustStore" por medio de la utilidad "bin\configuración\_xades".


---

# 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/ibm-editran-v5.3-iseries/editran-ff/configuracion-de-editran-xades/configuracion-de-los-certificados-a-firmar/fichero-truststore.sh.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.
