# SSL Self-signed Certificate Regeneration

When Morpheus is deployed it generates a 10 year self-signed non-trusted SSL certificate. Below details the process to regenerate this certificate and key.

## Replacing both the certificate and private key

### Procedure

1. Delete the certificate and key files in `/etc/morpheus/ssl/` that end in `.crt` and `.key`
2. Run Reconfigure `morpheus-ctl reconfigure`
3. Restart NGINX `morpheus-ctl restart nginx`

## Replacing only the certificate

### Procedure

1. Delete the certificate file in `/etc/morpheus/ssl/` it ends in `.crt`
2. Run Reconfigure `morpheus-ctl reconfigure`
3. Restart NGINX `morpheus-ctl restart nginx`
