Forrest logo
back to context overview

certbot

List of commands for certbot:

  • certbot:install Install certbot to handle tls/https certificates.
    $ apt-get install snapd
    $ snap install certbot --classic
    try on your machine
    explain this command
  • certbot:tldr:68be1 certbot: Obtain a new certificate via apache authorization, installing the new certificate automatically.
    $ sudo certbot --apache --domain ${subdomain-example-com}
    try on your machine
    explain this command
  • certbot:tldr:80301 certbot: Obtain a new certificate via nginx authorization, installing the new certificate automatically.
    $ sudo certbot --nginx --domain ${subdomain-example-com}
    try on your machine
    explain this command
  • certbot:tldr:aa1dc certbot: Renew all Let's Encrypt certificates that expire in 30 days or less (don't forget to restart any servers that use them afterwards).
    $ sudo certbot renew
    try on your machine
    explain this command
  • certbot:tldr:cfdd1 certbot: Simulate the obtaining of a new certificate, but don't actually save any new certificates to disk.
    $ sudo certbot --webroot --webroot-path ${path-to-webroot} --domain ${subdomain-example-com} --dry-run
    try on your machine
    explain this command
  • certbot:tldr:d4613 certbot: Obtain an untrusted test certificate instead.
    $ sudo certbot --webroot --webroot-path ${path-to-webroot} --domain ${subdomain-example-com} --test-cert
    try on your machine
    explain this command
  • certbot:tldr:fa29e certbot: Obtain a new certificate via webroot authorization, but do not install it automatically.
    $ sudo certbot certonly --webroot --webroot-path ${path-to-webroot} --domain ${subdomain-example-com}
    try on your machine
    explain this command
back to context overview