# mkcert Web UI

mkcert Web UI is a web interface for mkcert that lets you generate, inspect and manage locally-trusted TLS certificates from your browser. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/8170/mkcert-web-ui

## Description

mkcert Web UI is a web interface for mkcert that lets you generate, inspect and manage locally-trusted TLS certificates from your browser. It supports multiple domains, wildcards and IP addresses, PEM and PKCS#12 formats, a built-in SCEP server for automatic device enrollment, expiry alerts, and archiving and restoring certificates. It suits homelab users who want locally-trusted HTTPS without hand-editing OpenSSL commands, and it ships as a Docker image for easy deployment.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

58/100 (Fair), based on 4 of 5 factors.
- Maintained: 100 (last commit 24 days ago)
- Popular: 47 (224 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 20 (1 serious finding, 1 minor, CI, tests)

## Security check

1 serious finding: Uses cross-spawn 7.0.6, which has a known critical vulnerability.
Automated checks on commit 2cc6887, 4 Dec 2026. Not an audit.

## Links

- Docker Hub: https://hub.docker.com/r/jeffcaldwellca/mkcertweb
- Documentation: https://hub.docker.com/r/jeffcaldwellca/mkcertweb
- Official website: https://www.jeffcaldwell.ca/mkcertWeb/
- GitHub: https://github.com/jeffcaldwellca/mkcertWeb

## Common questions

### Does the Docker image include a root CA, and how do I set it up?

No, the image ships without a root CA. After starting the container, open the root-ca page, press generate, then download mkcert-rootCA.pem and install it on every machine that should trust your certificates.

### How do I enable login authentication?

Set ENABLE_AUTH=true with AUTH_USERNAME, AUTH_PASSWORD and a SESSION_SECRET (e.g. generated with openssl rand -hex 48) as environment variables. OpenID Connect single sign-on is also supported.

### Which volumes should I back up to preserve my certificates and settings?

Mount volumes for /app/certificates, /app/data, /app/config and /home/nodejs/.local/share/mkcert (the root CA). Backing these up covers certificates, notes, settings and the CA itself.

### Why does my browser still warn about a certificate that was issued successfully?

The root CA must be installed as trusted in the browser on the client machine you access from. Also, on Linux, install certutil (libnss3-tools) first, or Firefox and Chrome may still show warnings even after installation reports success.

### Can I upload existing certificates into mkcert Web UI?

Yes. You can upload existing .pem, .crt, .key, .p12 and .pfx files, but they are view-only in the interface.

### What notification options are available for expiring certificates?

A scheduled expiry check can send alerts by email (SMTP), ntfy or HTTP webhook, and each channel has a test button.

## Alternatives

- OpenSSL: OpenSSL is a framework which implements the secure socket layer.

---
Source: Our Local Host (https://ourlocalhost.com/app/8170/mkcert-web-ui), the self-hosted and open-source app directory.
