---
title: HTTPS para SuperAdmin
project: SuperAdmin
version: 9.0
section: guides
language: es
license: MIT
url: https://totaljs.es/docs/es/superadmin/9-0/guides/superadmin-https/
updated: 2026-11-19T08:00:35.592Z
---

# HTTPS para SuperAdmin

> Sirve el propio SuperAdmin por HTTPS con tu propio certificado.

El script de instalación pregunta si SuperAdmin debe usar HTTPS. Si elegiste HTTP, puedes cambiar más tarde con el script `reconfigure.sh` y un certificado que ya tengas.

## Cambiar a HTTPS

**1.** Hazte root en el servidor y copia el certificado y la clave exactamente en estas rutas, donde `superadmin.example.com` es tu dominio:

```text
/www/ssl/superadmin.example.com/fullchain.cer
/www/ssl/superadmin.example.com/superadmin.example.com.key
```

El archivo `.cer` tiene que contener la cadena completa.

**2.** Ejecuta el script:

```bash
cd /www/superadmin
bash reconfigure.sh y superadmin.example.com n
```

Los argumentos significan: usar HTTPS (`y`), el dominio, y no pedir un certificado nuevo (`n`).

**3.** Espera a ver esta línea:

```text
Configured superadmin with https://superadmin.example.com
```

Después, el script reinicia SuperAdmin.

**4.** Abre `https://superadmin.example.com/`. La dirección HTTP redirige a ella.

## Volver a HTTP

```bash
cd /www/superadmin
bash reconfigure.sh n superadmin.example.com
```

## Renovar el certificado

Sustituye los dos archivos y recarga Nginx:

```bash
nginx -t && nginx -s reload
```
