2 # Copyright (C) 2016 Ian Kelling
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
18 if [[ ! -e /dev
/shm
/iank-status
]]; then
21 eval $
(< /dev
/shm
/iank-status
)
23 if [[ $HOSTNAME != "$MAIL_HOST" ||
$HOST2 && $HOST2 != "$HOSTNAME" ]]; then
27 lock_file
=/tmp
/check-lets-encrypt-ssl-settings
28 if [[ -e $lock_file ]]; then
33 gitget https
://github.com
/certbot
/certbot.git
$d |
& ts
"%F %T" >>/tmp
/${0##*/}.log
36 f
=certbot-apache
/certbot_apache
/_internal
/tls_configs
/current-options-ssl-apache.conf
37 out
=$
(git log
-p --since 2022-05-14 $f)
41 Let's encrypt has new ssl settings.
42 1. edit mail-setup if needed: search for check-lets-encrypt-ssl-settings
43 2. edit web-conf, search for common_ssl_conf
44 3. Update servers if needed
45 4. edit the date in /a/bin/ds/filesystem/usr/local/bin/check-lets-encrypt-ssl-settings