Commit c47a99b2 authored by Sunil Mohan Adapa's avatar Sunil Mohan Adapa Committed by Joseph Nuthalapati

apache: Add let's encrypt certificate component

Signed-off-by: Sunil Mohan Adapa's avatarSunil Mohan Adapa <>
Reviewed-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <>
parent 254b8a98
......@@ -23,13 +23,17 @@ from django.utils.translation import ugettext_lazy as _
from plinth import actions
from plinth import app as app_module
from plinth import cfg
from plinth.daemon import Daemon
from plinth.modules.firewall.components import Firewall
from plinth.modules.letsencrypt.components import LetsEncrypt
from plinth.utils import format_lazy
version = 7
is_essential = True
managed_services = ['apache2']
managed_packages = ['apache2', 'php-fpm']
app = None
......@@ -55,6 +59,13 @@ class ApacheApp(app_module.App):
cfg.box_name)), ports=['http', 'https'], is_external=True)
letsencrypt = LetsEncrypt('letsencrypt-apache', domains='*',
daemon = Daemon('daemon-apache', managed_services[0])
def init():
"""Initailze firewall module"""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment