Editing Certbot

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
  
 
You can additionally install [[Plugins (certbot)|certbot plugins]]:
 
You can additionally install [[Plugins (certbot)|certbot plugins]]:
* <code>python3-certbot-apache</code>
+
python3-certbot-apache
* <code>python3-certbot-dns-cloudflare</code>
+
python3-certbot-dns-cloudflare
* <code>[[python3-certbot-dns-digitalocean]]</code>
+
python3-certbot-dns-digitalocean
* <code>[[python3-certbot-dns-dnsimple]]</code>
+
[[python3-certbot-dns-dnsimple]]
* <code>python3-certbot-dns-google</code>
+
python3-certbot-dns-google
* <code>python3-certbot-dns-rfc2136</code>
+
python3-certbot-dns-rfc2136
* <code>python3-certbot-dns-route53</code>
+
python3-certbot-dns-route53
* <code>[[python3-certbot-nginx]]</code>
+
python3-certbot-nginx
  
 
== [[Ubuntu]] files ==
 
== [[Ubuntu]] files ==
* Binaries: <code>certbot</code> and <code>[[letscrypt]]</code>
+
* Binaries: <code>certbot</code> and <code>letscrypt</code>
* Configuration files:
+
* Configuration files: <code>/etc/letsencrypt</code>
::<code>[[/etc/letsencrypt/]]</code>
+
::<code>/etc/letsencrypt/[[renewal]]/</code>
::<code>[[/etc/letsencrypt/renewal/]]</code>
+
* Renewals configuration: <code>/etc/cron.d/[[cerbot (cron)|certbot]]</code>
* Renewals configuration: <code>/etc/cron.d/certbot]]</code>
+
* Logs: <code>/var/log/letsencrypt/[[letsencrypt.log]]</code>
* Logs: <code>[[/var/log/letsencrypt/letsencrypt.log]]</code>
 
  
 
== Examples ==
 
== Examples ==
  
* <code>[[certbot (command)|certbot]] -d YOUR_DOMAIN_NAME.com --manual --[[preferred-challenges]] [[dns]] [[certonly]]</code>
+
[[certbot (command)|certbot]] -d YOUR_DOMAIN_NAME.com --manual --[[preferred-challenges]] [[dns]] [[certonly]]
  
  
Line 35: Line 34:
  
 
=== Request a certificate ===
 
=== Request a certificate ===
* List certificates: <code>[[certbot certificates]]</code>
 
* <code>[[certbot renew]]</code>
 
* <code>[[certbot renew --force-renewal]]</code>
 
* <code>[[certbot delete]] --cert-name YOUR_CERT_NAME</code>
 
* Changing a Certificdate's Domain<ref>https://certbot.eff.org/docs/using.html#changing-a-certificate-s-domains</ref>: <code>certbot certonly --cert-name example.com -d example.org,www.example.org</code>
 
* Automated renewals: <code>[[systemctl list-timers]]</code>
 
 
 
 
* Stop your webserver:  
 
* Stop your webserver:  
 
: <code>[[systemctl]] stop nginx</code>
 
: <code>[[systemctl]] stop nginx</code>
Line 65: Line 56:
 
<code>certbot certonly --standalone</code>
 
<code>certbot certonly --standalone</code>
  
+
<pre>
[[certbot --nginx]]
+
certbot --nginx
Saving debug log to /var/log/letsencrypt/letsencrypt.log
+
Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested nginx plugin does not appear to be installed
+
The requested nginx plugin does not appear to be installed
 +
</pre>
 +
 
  
 +
* <code>[[certbot certificates]]</code>
 +
* <code>[[certbot renew]]</code>
 +
* <code>[[certbot renew --force-renewal]]</code>
 +
* <code>[[certbot delete]] --cert-name YOUR_CERT_NAME</code>
 +
* Changing a Certificdate's Domain<ref>https://certbot.eff.org/docs/using.html#changing-a-certificate-s-domains</ref>: <code>certbot certonly --cert-name example.com -d example.org,www.example.org</code>
 +
* Automated renewals: <code>[[systemctl list-timers]]</code>
  
 
== Activities ==
 
== Activities ==
Line 78: Line 77:
  
 
== See also ==
 
== See also ==
* {{certbot cmd}}
 
 
* {{certbot}}
 
* {{certbot}}
* {{CA}}
 
  
 
[[Category:IT Security]]
 
[[Category:IT Security]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: