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

From wiki
m Vincent moved page Template:Let’s Encrypt New Cert to Template:Let’s Encrypt/New Cert Command without leaving a redirect
Rename
Line 22: Line 22:


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


{{Let’s Encrypt New Cert|domain=example.com|command=service nginx reload}}
{{Let’s Encrypt/New Cert Command|domain=example.com|command=service nginx reload}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#tag:syntaxhighlight|# /usr/local/sbin/renew_certificates
{{#tag:syntaxhighlight|# /usr/local/sbin/renew_certificates

Revision as of 23:20, 20 March 2016

Description

Show Let’s Encrypt command to create a new certificate

Template parameters[Edit template data]

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

Example

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


# /usr/local/sbin/renew_certificates
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-07-21. 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