From 012b2d04ec7dd20c5c774374dc42146e7ad82ae8 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 7 Apr 2017 22:16:39 +0200 Subject: cerificate renewed --- src/web/views/views.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/web/views') diff --git a/src/web/views/views.py b/src/web/views/views.py index 03d6501d..203395e2 100644 --- a/src/web/views/views.py +++ b/src/web/views/views.py @@ -88,3 +88,11 @@ def about_more(): registration=[conf.SELF_REGISTRATION and 'Open' or 'Closed'][0], python_version="{}.{}.{}".format(*sys.version_info[:3]), nb_users=UserController().read().count()) + + +@current_app.route('/.well-known/acme-challenge/L2Ul7hxmsOxte-ctKBWPZ_bCfP8V55Yt1O_nMvVXrYA') +def letsencrypt(): + """ + To validate the TLS certificate. + """ + return 'L2Ul7hxmsOxte-ctKBWPZ_bCfP8V55Yt1O_nMvVXrYA.bUlx3NWj4YZ59CkBunuvzS0GnW5Kh9i4yehDEP4AEdU' -- cgit