Video coming soon…

🔐 Setup step-ca — Your Own Private Certificate Authority

Deploy step-ca on Ubuntu with Docker — a private ACME certificate authority from Smallstep, issuing trusted TLS certificates to your internal services on port 9015.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command initialises a CA named HomeLab with a generated password, then prints your root fingerprint.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/step-ca/step-ca-ubuntu.sh
chmod +x step-ca-ubuntu.sh
sudo bash step-ca-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/security/step-ca/step-ca-ubuntu.sh

2 Make it Executable

chmod +x step-ca-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, generates a 24-character CA password, and initialises a CA named HomeLab with DNS names localhost and your server IP, remote management enabled, and everything stored in ./step.

sudo bash step-ca-ubuntu.sh

4 Get Your Root Fingerprint

There is no web UI — step-ca is driven by the step CLI. You'll need the root fingerprint to bootstrap any client:

docker exec step-ca step certificate fingerprint certs/root_ca.crt

Ports Used

PortPurpose
9015CA + ACME API over HTTPS (host → container 9000) — no web UI
./stepRoot and intermediate private keys — your entire PKI
DNS namesInitialised for localhost and your server IP only

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions