ocserv: dehardcode site name in cert expiry message
This commit is contained in:
parent
cee8d2fb55
commit
71152fe652
2 changed files with 6 additions and 6 deletions
|
|
@ -93,9 +93,9 @@
|
||||||
sysctl_set: true
|
sysctl_set: true
|
||||||
|
|
||||||
- name: Install user certificate expiry notification script
|
- name: Install user certificate expiry notification script
|
||||||
copy:
|
template:
|
||||||
dest: /usr/local/bin/
|
dest: /usr/local/bin/notify-expiring-certs
|
||||||
src: notify-expiring-certs
|
src: notify-expiring-certs.j2
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: Schedule user certificate expiry notification script
|
- name: Schedule user certificate expiry notification script
|
||||||
|
|
|
||||||
|
|
@ -24,11 +24,11 @@ for cert in /var/lib/ocserv/certs/*.crt ; do
|
||||||
To: ${email}
|
To: ${email}
|
||||||
Bcc: root
|
Bcc: root
|
||||||
Date: $(date -R)
|
Date: $(date -R)
|
||||||
Subject: Potek certifikata za FRI VPN
|
Subject: Potek certifikata za {{ dns_name }}
|
||||||
|
|
||||||
Spoštovani,
|
Spoštovani,
|
||||||
|
|
||||||
čez ${validity} dni bo potekel FRI VPN certifikat za ${email}. Če dostop še potrebujete, kontaktirajte RC FRI za podaljšanje.
|
čez ${validity} dni bo potekel certifikat ${email} za dostop do {{ dns_name }}. Če dostop še potrebujete, kontaktirajte RC FRI za podaljšanje.
|
||||||
|
|
||||||
Lep pozdrav,
|
Lep pozdrav,
|
||||||
RC FRI
|
RC FRI
|
||||||
|
|
@ -37,7 +37,7 @@ RC FRI
|
||||||
|
|
||||||
Hello,
|
Hello,
|
||||||
|
|
||||||
in ${validity} days the FRI VPN certificate for ${email} will expire. If you still need access, contact RC FRI for renewal.
|
in ${validity} days the certificate ${email} to access {{ dns_name }} will expire. If you still need access, contact RC FRI for renewal.
|
||||||
|
|
||||||
Best regards,
|
Best regards,
|
||||||
RC FRI
|
RC FRI
|
||||||
Loading…
Add table
Add a link
Reference in a new issue