Opened 2 years ago

Closed 2 years ago

#2748 closed task (fixed)

osgeo6 certs might have an issue

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2022-II
Component: SysAdmin Keywords:
Cc:

Description

Got a note from letsencrypt that all these are expiring

docs.geotools.org
geotools.org
lists.osgeo.org
mapserver.gis.umn.edu
mapserver.org
old.grass.osgeo.org
www.geotools.org
www.mapserver.org
www3.mapserver.org

These I think are all hosted on osgeo6. I'll check on the cert thing to see what's up

Change History (5)

comment:1 by robe, 2 years ago

okay I ran

certbot-auto renew

Which did this

  /etc/letsencrypt/live/docs.geotools.org/fullchain.pem (success)
  /etc/letsencrypt/live/geotools.org/fullchain.pem (success)
  /etc/letsencrypt/live/lists.osgeo.org/fullchain.pem (success)
  /etc/letsencrypt/live/mapserver.org/fullchain.pem (success)
  /etc/letsencrypt/live/old.grass.osgeo.org/fullchain.pem (success)

but

root cron has this already

 30 1 15 * * certbot-auto renew

so maybe it's related to the issue strk was mentioning about cron job.

Also:

 systemctl status cron

shows this:

● cron.service - Regular background program processing daemon
   Loaded: loaded (/lib/systemd/system/cron.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-11-12 20:29:29 PST; 5 months 0 days ago
     Docs: man:cron(8)
 Main PID: 24962 (cron)
    Tasks: 29 (limit: 4915)
   Memory: 650.7M
      CPU: 1h 36min 11.135s
   CGroup: /system.slice/cron.service
           ├─15672 sudo -Eu drone drone server --server-addr localhost:8000
           ├─15675 drone server --server-addr localhost:8000
           └─24962 /usr/sbin/cron -f

Apr 14 14:15:01 osgeo6 CRON[1181]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

What is that drone server thing doing there. Can we kill that.

comment:2 by strk, 2 years ago

The cron job should have run tomorrow (15 day of month) so what makes you think it would not run ?

I've no idea about the drone server, must be the old one. Given drone.osgeo.org responds with "nothing to see here" I'd say we can kill the running server, yes.

comment:3 by robe, 2 years ago

Resolution: fixed
Status: newclosed

no issue here, think it's just cause it's every 2 weeks.

comment:4 by robe, 2 years ago

Resolution: fixed
Status: closedreopened

Still an issue, I think it's because they are all based on the old certbot and certbot-auto is no longer supported so have to switch to new certbot.

comment:5 by robe, 2 years ago

Resolution: fixed
Status: reopenedclosed

They were all complaining about apache2 plugin not installed

I ran:

apt install python-certbot-apache
certbot renew
systemctl reload apache2

and they all seemed to renew okay.

I confirmed the cron job has certbot renew, though not sure that is needed with the apache config in place.

Note: See TracTickets for help on using tickets.