Skip to content

Commit 821b0b8

Browse files
deprecation message for letsencrypt script. by Giles and Filip
1 parent 57e10b6 commit 821b0b8

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

scripts/pa_install_webapp_letsencrypt_ssl.py

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,23 @@ def main(domain_name, suppress_reload):
4343
webapp.reload()
4444

4545
ssl_details = webapp.get_ssl_info()
46-
print(snakesay(
47-
"That's all set up now :-)\n"
48-
"Your new certificate will expire on {expiry:%d %B %Y},\n"
49-
"so shortly before then you should renew it\n"
50-
"(see https://help.pythonanywhere.com/pages/LetsEncrypt/)\n"
51-
"and install the new certificate.".format(
52-
expiry=ssl_details["not_after"]
46+
print(
47+
snakesay(
48+
"This method of handling Let's Encrypt certs\n"
49+
"**************IS DEPRECATED.**************\n\n"
50+
"You can now have a Let's Encrypt certificate managed by PythonAnywhere.\n"
51+
"We handle all the details of getting it, installing it,\n"
52+
"and managing renewals for you. So you don't need to do\n"
53+
"any of the stuff below any more.\n\n"
54+
"Anyway, All is set up for now. \n"
55+
"Your new certificate will expire on {expiry:%d %B %Y},\n"
56+
"so shortly before then you should switch to the new system\n"
57+
"(see https://help.pythonanywhere.com/pages/HTTPSSetup/)\n"
58+
"".format(
59+
expiry=ssl_details["not_after"]
60+
)
5361
)
54-
))
55-
62+
)
5663

5764
done = True
5865
break

0 commit comments

Comments
 (0)