'Helper method for prepare_server_https, taking care of enabling
needed modules
:param boolean temp: If the change is temporary'

def prepare_https_modules(self, temp):

    if self.conf('handle-modules'):
        if ((self.version >= (2, 4)) and ('socache_shmcb_module' not in self.parser.modules)):
            self.enable_mod('socache_shmcb', temp=temp)
        if ('ssl_module' not in self.parser.modules):
            self.enable_mod('ssl', temp=temp)
