26 lines
398 B
Markdown
26 lines
398 B
Markdown
![]() |
---
|
||
|
tags: [server-management, 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 --certname rootdomain.net
|
||
|
|
||
|
```
|