> 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-comun-z-os/editran-ff-instalacion-firma-y-verificacion-v7.1.1/instalacion-de-certificados-en-modo-fichero/fichero-truststore.md).

# Fichero truststore

En la instalación de Editran/XAdES se suministra un fichero TrustStore, trustStore.pfx en la carpeta /rsc/truststore/ (en el ejemplo /u/edisign/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:

```
Escriba la ruta del truststore a gestionar.
No escriba nada para gestionar el truststore indicado en xades.properties.
Escriba 'E' para salir.
Opcion:                                       (Eligiendo el truststore por defecto)
Elija que operacion desea realizar:
1) Consultar los certificados del truststore
2) Anadir un certificado al truststore
3) Borrar un certificado del truststore
4) Cambiar la contrasena del truststore
Para salir, pulsar la tecla 'E'
Opcion:
```

* Opcion 1: nos mostrará un listado numerado de los certificados de la CA que contiene y volverá a mostrar las opciones disponibles.
* Opcion: 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á.

* Opción 3 nos mostrará el mismo listado que con la opción 1 y pedirá:

> ```
> Introduzca el numero del certificado a borrar: 112
> Certificado borrado correctamente.
> ```

* Opcion: 4

> ```
> Introduzca la contrasena actual:
>  
> Introduzca la nueva contrasena:
>  
> Repita la nueva contrasena:
>  
> Contrasena modificada correctamente.
> 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-comun-z-os/editran-ff-instalacion-firma-y-verificacion-v7.1.1/instalacion-de-certificados-en-modo-fichero/fichero-truststore.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.
