aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12check-certificates: exit block on failed importGravatar Christian Hesse1-0/+1
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-04check-certificates: move code into functionGravatar Christian Hesse1-154/+159
2024-01-30check-certificates: always quote the certificate nameGravatar Christian Hesse1-7/+7
2024-01-30check-certificates: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-24check-certificates: unbreak certificate downloadGravatar Christian Hesse1-1/+1
This was borked with a2749b276003a90b95b9723e287542be56c0d0c1. 😳
2024-01-19check-certificates: use prepared user-agent string with fetchGravatar Christian Hesse1-1/+2
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-12-05check-certificates: properly renew from templateGravatar Christian Hesse1-1/+1
2023-12-05check-certificates: improve wordingGravatar Christian Hesse1-3/+2
2023-12-04check-certificates: add workaround for broken certificates...Gravatar Christian Hesse1-2/+4
... where the issuer array is borked. Or is this a RouterOS issue? [eworm@carpo] > $InspectVar [ $ParseKeyValueStore [ /certificate/get ISRG-Root-X2 issuer ] ] -type-> array -key-> C -type-> str -value-> US,O=Internet Security Research Group,CN=ISRG Root X2 A good certificate looks like this: [eworm@carpo] > $InspectVar [ $ParseKeyValueStore [ /certificate/get [ find where name~"eworm.net" ] issuer ] ] -type-> array -key-> C -type-> str -value-> US -key-> CN -type-> str -value-> E1 -key-> O -type-> str -value-> Let's Encrypt
2023-12-04check-certificates: prevent infinte loopGravatar Christian Hesse1-1/+2
2023-12-04check-certificates: give full certificate chainGravatar Christian Hesse1-7/+28
2023-12-04check-certificates: fix typo and syntaxGravatar Christian Hesse1-2/+2
2023-09-18global-functions: split off $FormatMultiLines ...Gravatar Christian Hesse1-1/+2
... to format multiple lines from an array.
2023-07-23check-certificates: properly handle in place updatesGravatar Christian Hesse1-9/+12
This worked just kind of... The certification was updated, but script aborted before the notification was sent.
2023-06-13check-certificates: lock the scriptGravatar Christian Hesse1-0/+2
2023-05-25check-certificates: split validity outputGravatar Christian Hesse1-1/+3
2023-04-24check-certificates: use $FormatLineGravatar Christian Hesse1-18/+9
2023-04-19check-certificates: add certificate name in notification subjectGravatar Christian Hesse1-2/+2
2023-04-07check-certificates: properly escape the name for regexGravatar Christian Hesse1-1/+2
2023-04-07check-certificates: try all SANs for downloadchange-98Gravatar Christian Hesse1-3/+16
2023-04-07check-certificates: make the function return a statusGravatar Christian Hesse1-1/+8
2023-04-07check-certificates: do not rename certificates without common-nameGravatar Christian Hesse1-1/+1
2023-04-07check-certificates: download and import in a local functionGravatar Christian Hesse1-31/+41
2023-04-07check-certificates: include SANs in informationGravatar Christian Hesse1-0/+11
2023-04-06check-certificates: show CommonName only if availableGravatar Christian Hesse1-1/+1
2023-04-06check-certificates: format information in a local functionGravatar Christian Hesse1-20/+24
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+138
No functional change for the user... The migration is done automatically.