aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates.rsc
AgeCommit message (Expand)AuthorFilesLines
2024-06-25check-certificates: limit scope for $CertNew...•••... into block where certificate is replaced. This should unbreak renewing with a certificate updated in place. Gravatar Christian Hesse1-4/+3
2024-04-07bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.13 anyway. routeros-7.13-6Gravatar Christian Hesse1-1/+1
2024-03-29global-functions: rename $FetchUserAgent -> $FetchUserAgentStr•••... to make sure the function does not clash with the variable we had before, as this causes issue with news and changes notification. Gravatar Christian Hesse1-2/+2
2024-03-20check-certificates: pass script name into local functionGravatar Christian Hesse1-6/+7
2024-03-16global-functions: generate user agent string in function...•••... and add the caller and my shortened url. Gravatar Christian Hesse1-1/+1
2024-03-12check-certificates: switch to $LogPrintGravatar Christian Hesse1-15/+17
2024-03-12check-certificates: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12check-certificates: handle formatting of self signed certGravatar Christian Hesse1-1/+5
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 download•••This was borked with a2749b276003a90b95b9723e287542be56c0d0c1. 😳 Gravatar Christian Hesse1-1/+1
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...•••... 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 Gravatar Christian Hesse1-2/+4
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 ...•••... to format multiple lines from an array. Gravatar Christian Hesse1-1/+2
2023-07-23check-certificates: properly handle in place updates•••This worked just kind of... The certification was updated, but script aborted before the notification was sent. Gravatar Christian Hesse1-9/+12
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"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+138