1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-25 02:47:04 +00:00

tell users to restart nginx after plugging in a new cert

This commit is contained in:
Joshua Tauberer 2014-07-09 14:05:59 +00:00
parent deebda06e1
commit 6c70b10c15

View File

@ -254,7 +254,7 @@ def check_ssl_cert(domain, env):
print() print()
print_block("""When you purchase an SSL certificate you will receive a certificate in PEM format and possibly a file containing intermediate certificates in PEM format. print_block("""When you purchase an SSL certificate you will receive a certificate in PEM format and possibly a file containing intermediate certificates in PEM format.
If you receive intermediate certificates, use a text editor and paste your certificate on top and then the intermediate certificates If you receive intermediate certificates, use a text editor and paste your certificate on top and then the intermediate certificates
below it. Save the file and place it onto this machine at %s.""" % ssl_certificate) below it. Save the file and place it onto this machine at %s. Then run "service nginx restart".""" % ssl_certificate)
elif cert_status == "OK": elif cert_status == "OK":
print_ok("SSL certificate is signed.") print_ok("SSL certificate is signed.")