Difference between revisions of "Certbot renew"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
== Configuration examples ==
 
== Configuration examples ==
<code>/etc/letsencrypt/renewal/DOMAIN.com.conf</code>
+
{{certbot renew examples}}
 
 
.../...
 
# Options used in the renewal process
 
[renewalparams]
 
account = t513041ebec01207237ef7251192397t
 
[[pref_challs]] = [[dns-01]],
 
[[authenticator]] = [[manual]]
 
manual_public_ip_logging_ok = True
 
 
 
or
 
 
 
# Options used in the renewal process
 
[renewalparams]
 
account = t513041ebec01207237ef7251192397t
 
[[pref_challs]] = [[http-01]],
 
[[authenticator]] = [[standalone]]
 
server = https://acme-v02.api.letsencrypt.org/directory
 
 
 
 
 
Options:
 
[[pref_challs]]: [[dns-01]] | [[http-01]]
 
[[authenticator]]: [[manual]] | [[standalone]]
 
  
 
== Renew examples ==
 
== Renew examples ==

Revision as of 06:00, 19 June 2020

Configuration directory: /etc/letsencrypt/renewal/

Examples

certbot renew
certbot renew --nginx

Configuration examples

/etc/letsencrypt/renewal/DOMAIN.com.conf
.../...
# Options used in the renewal process
[renewalparams]
account = t513041ebec01207237ef7251192397t
pref_challs = dns-01,
authenticator = manual
manual_public_ip_logging_ok = True

or

# Options used in the renewal process
[renewalparams]
account = t513041ebec01207237ef7251192397t
pref_challs = http-01,
authenticator = standalone
server = https://acme-v02.api.letsencrypt.org/directory


Options:

pref_challs: dns-01 | http-01
authenticator: manual | standalone

Renew examples

Certbot renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

No renewals were attempted.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


With Errors

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/DOMAIN.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cert is due for renewal, auto-renewing...
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',)
Attempting to renew cert (DOMAIN.com) from /etc/letsencrypt/renewal/DOMAIN.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError('An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.',). Skipping.
The following certs could not be renewed:
  /etc/letsencrypt/live/DOMAIN.com/fullchain.pem (failure)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


None of the preferred challenges are supported by the selected plugin. Skipping.

Related commands

-d flag

See also

Advertising: