Bug #3386

Let's Encrypt: apache template not expanded

Added by Giacomo Sanchietti over 5 years ago. Updated about 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-letsencrypt
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

The nethserver-letsencrypt-update event doesn't expand Apache configuration file.

Steps to reproduce
  • Install nethserver-letsencrypt
  • Check .well-known/acme-challenge/ is not configured inside default virtual hosts
Expected behavior
  • The .well-known/acme-challenge/ must be configued

Workaround
Execute:

expand-template /etc/httpd/conf/httpd.conf

History

#1 Updated by Giacomo Sanchietti over 5 years ago

  • Tracker changed from Feature to Bug
  • Status changed from NEW to TRIAGED
  • Target version set to v6.7
  • % Done changed from 0 to 20
  • Affected version set to v6.7

#2 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
In nethserve-testing:
  • nethserver-letsencrypt-1.0.1-1.1.gbb81e21.ns6.noarch.rpm

Test case

  • Check the httpd configuration files is expanded after install

#5 Updated by Davide Principi about 5 years ago

  • Assignee set to Davide Principi

#6 Updated by Davide Principi about 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

System and Package Version installed

nethserver-letsencrypt-1.0.1-1.1.gbb81e21.ns6.noarch

Package Installed: nethserver-letsencrypt-1.0.1-1.1.gbb81e21.ns6.noarch
Updates nethserver-letsencrypt-1.0.1-1.ns6.noarch

Test Original Problem

The grep fails

grep -R '.well-known/acme-challenge/' /etc/httpd/

Install Updated Package

yum --enablerepo=nethserver-testing update ... 

Test Results after update

the grep command succeedes

#7 Updated by Giacomo Sanchietti about 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-letsencrypt-1.0.2-1.ns6.noarch.rpm

Also available in: Atom PDF