> For the complete documentation index, see [llms.txt](https://docs.scepman.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scepman.com/es/administracion-de-certificados/certificate-master/user-certificate.md).

# Certificado de usuario

{% hint style="warning" %}
Solo en SCEPman Enterprise Edition
{% endhint %}

{% hint style="info" %}
Esta función requiere la versión 2.4 o superior
{% endhint %}

Puede generar manualmente certificados de usuario X.509, incluida una clave privada, a través de la interfaz web de SCEPman Certificate Master. Esos certificados pueden utilizarse en diversos escenarios de autenticación basada en certificados (CBA), para tarjetas inteligentes y firmas de correo electrónico. De forma predeterminada, los certificados generados tendrán el EKU **Autenticación de cliente** y un Subject Alternative Name (SAN) establecido en una propiedad de tipo UPN cuyo valor coincide con el UPN proporcionado en la interfaz de usuario.

### Emisión de un certificado de usuario

1. Ve a **Nuevo certificado de usuario** en el menú de SCEPman Certificate Master.
2. Introduzca un UPN para el certificado y seleccione los EKU requeridos.
3. Pulse **Enviar** y el navegador descargará automáticamente el certificado con la clave privada en formato PKCS#12/PFX unos segundos después de que se emita el certificado. El archivo PKCS#12 está cifrado con la contraseña que se muestra en la pantalla. Puede importar el PKCS#12 directamente en el sistema donde se necesite utilizando la contraseña.

{% hint style="warning" %}
Tenga en cuenta que, una vez que abandone esta página, la contraseña ya no será accesible.
{% endhint %}

<figure><img src="https://4115997120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FfNlpkOFKRoaOJXWCTAAG%2Fimage.png?alt=media&amp;token=e7a0a46d-a0bc-4cd4-a237-4dc088f5b966" alt=""><figcaption><p>Certificate Master - Nuevo certificado de usuario</p></figcaption></figure>

## YubiKey

Siga los pasos a continuación para inscribir un certificado de tarjeta inteligente en su dispositivo YubiKey.

### Lista de verificación: requisitos previos

* [ ] *Obligatorio* - Acceso a Certificate Master y un rol adecuado (`Admin.Full` , `Request.All`,`Request.User`)
* [ ] *Obligatorio* - Acceso a un dispositivo YubiKey con una ranura de tarjeta inteligente libre
* [ ] *Obligatorio* - YubiKey Manager está instalado

### Pasos

1. Abra el portal web de Certificate Master y haga clic en el **+** icono
2. Seleccione **Nuevo certificado de usuario**
3. Especifique el **UPN** según sus requisitos
4. Establezca la **Longitud de la clave** a **2048** bits (actualmente YubiKey no admite claves de 4096 bits).
5. Seleccione **PKCS#12** como **Formato de archivo de descarga**
6. Seleccione **Autenticación de cliente** y **Inicio de sesión con tarjeta inteligente** de los **Usos de clave extendidos**

<figure><img src="https://4115997120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2F2DV0KKFUYhO0vtguLIjV%2Fimage.png?alt=media&amp;token=e53988a2-4cf0-497e-afc4-3a036509c2bb" alt=""><figcaption></figcaption></figure>

1. Antes de hacer clic en **Enviar**, asegúrese de anotar temporalmente el **Contraseña** ya que se requerirá al importar el certificado a YubiKey.
2. Abra YubiKey Manager
3. Ve a **Aplicaciones** **>** **PIV** y haga clic en **Configurar certificados**

   <figure><img src="https://4115997120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FkWxntxxG3C8RzLwHC0vW%2Fimage.png?alt=media&amp;token=b15a3e59-e989-4bd0-a000-80a080ce62db" alt=""><figcaption></figcaption></figure>
4. Seleccione **Autenticación (ranura 9a)** y haga clic en **Importar**
5. Cargue el certificado que se generó previamente desde Certificate Master y proporcione el **Contraseña**.
6. Establezca una **clave de administración** y haga clic en **Aceptar**

   <figure><img src="https://4115997120-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LoGejQeUQcw7lqnQ3WX%2Fuploads%2FmqPYzFhQBzOLZzjdyriC%2Fimage.png?alt=media&amp;token=8ca60bb1-9d37-442d-8892-ac606d8f5a23" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.scepman.com/es/administracion-de-certificados/certificate-master/user-certificate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
