---
tags: [servers, procedural]
created: Wednesday, April 02, 2025
---

# Certbot

## Generate certificates for new subdomain

```sh
sudo certbot certonly --standalone -d rootdomain.net -d subdomainA.rootdomain.net -d subdomainB.rootdomain.net
```

## List certificates

```sh
sudo certbot certificates
```

## Delete a certifcate

```sh
sudo cerbot delete --cert-name rootdomain.net

```
