Bug #3365
Let's Encrypt: missing update event
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-letsencrypt | |||
Target version: | v6.7 | |||
Security class: | Resolution: | |||
Affected version: | v6.7 | NEEDINFO: | No |
Description
The nethserver-letsencrypt package has no nethserver-letsencrypt-update
event: after install, the template for configuration file (/etc/letsencrypt.sh/config.sh
) is not expanded.
- Install the package
- BASEDIR option inside
/etc/letsencrypt.sh/config.sh
is pointing to a wrong dir:BASEDIR=$SCRIPTDIR
Workaround
Before requesting a certificate, execute:
expand-template /etc/letsencrypt.sh/config.sh
History
#1 Updated by Giacomo Sanchietti over 5 years ago
- Category set to nethserver-letsencrypt
- 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
Package in nethserver-testing:
- nethserver-letsencrypt-1.0.0-1.1.g0524541.ns6.noarch.rpm
- Install the updated package
- Check
/etc/letsencrypt.sh/config.sh
has been expanded, it must contains this line:BASEDIR=/etc/letsencrypt.sh
#5 Updated by Davide Principi over 5 years ago
- Assignee set to Davide Principi
#6 Updated by Davide Principi over 5 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
VERIFIED
--- nethserver-letsencrypt.rpmql 2016-03-15 09:14:06.955546711 +0100
+++ nethserver-letsencrypt.rpmql.testing 2016-03-15 09:14:30.979547591 +0100
@@ -11,6 +11,21 @@
/etc/e-smith/db/configuration/defaults/pki/LetsEncrypt
/etc/e-smith/db/configuration/defaults/pki/LetsEncryptMail
/etc/e-smith/db/configuration/defaults/pki/LetsEncryptRenewDays
+/etc/e-smith/events
+/etc/e-smith/events/certificate-update
+/etc/e-smith/events/certificate-update/S00initialize-default-databases
+/etc/e-smith/events/certificate-update/S02nethserver-generate-certificate
+/etc/e-smith/events/certificate-update/templates2expand
+/etc/e-smith/events/certificate-update/templates2expand/etc
+/etc/e-smith/events/certificate-update/templates2expand/etc/letsencrypt.sh
+/etc/e-smith/events/certificate-update/templates2expand/etc/letsencrypt.sh/config.sh
+/etc/e-smith/events/nethserver-letsencrypt-update
+/etc/e-smith/events/nethserver-letsencrypt-update/services2adjust
+/etc/e-smith/events/nethserver-letsencrypt-update/services2adjust/httpd
+/etc/e-smith/events/nethserver-letsencrypt-update/templates2expand
+/etc/e-smith/events/nethserver-letsencrypt-update/templates2expand/etc
+/etc/e-smith/events/nethserver-letsencrypt-update/templates2expand/etc/letsencrypt.sh
+/etc/e-smith/events/nethserver-letsencrypt-update/templates2expand/etc/letsencrypt.sh/config.sh
/etc/e-smith/templates
/etc/e-smith/templates/etc
/etc/e-smith/templates/etc/letsencrypt.sh
#7 Updated by Davide Principi over 5 years ago
- Assignee deleted (
Davide Principi)
#8 Updated by Giacomo Sanchietti over 5 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
Releases in nethserver-updates:
- nethserver-letsencrypt-1.0.1-1.ns6.noarch.rpm