Difference between revisions of "Template:Let’s Encrypt/New Cert Command"

From wiki
(Remove line returns)
(Rename script)
Line 32: Line 32:
 
</noinclude><includeonly>{{#tag:syntaxhighlight|
 
</noinclude><includeonly>{{#tag:syntaxhighlight|
 
{{#if: {{{beforeCommand|}}} | {{{beforeCommand}}} }}
 
{{#if: {{{beforeCommand|}}} | {{{beforeCommand}}} }}
# /usr/local/sbin/renew_certificates
+
# /usr/local/sbin/certmanage
 
Renewing certificate for {{{domain}}} that will expire on 0001-01-01
 
Renewing certificate for {{{domain}}} that will expire on 0001-01-01
  

Revision as of 16:00, 5 August 2016

Description

Show Let’s Encrypt command to create a new certificate

Template parameters

ParameterDescriptionTypeStatus
Domaindomain

For wich domain will you certificate be issued

Example
wiki.example.com
Stringrequired
Commandcommand

Command to be run after certificate creation

Example
service nginx restart
Stringrequired
Before CommandbeforeCommand

Command to be run before getting the certificate

Example
# service nginx reload
Stringoptional

Example

{{Let’s Encrypt/New Cert Command|domain=example.com|command=service nginx reload}}

# /usr/local/sbin/certmanage
Renewing certificate for example.com that will expire on 0001-01-01



IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/example.com/fullchain.pem. Your
   cert will expire on 2025-02-22. To obtain a new version of the
   certificate in the future, simply run Let's Encrypt again.
 - If you like Let's Encrypt, please consider supporting our work by:

   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
   Donating to EFF:                    https://eff.org/donate-le

Restarting services:
service nginx reload