aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates.rsc
AgeCommit message (Collapse)AuthorFilesLines
14 dayscheck-certificates: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.14 anyway.
2024-06-25check-certificates: limit scope for $CertNew...Gravatar Christian Hesse1-4/+3
... into block where certificate is replaced. This should unbreak renewing with a certificate updated in place.
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.13 anyway.
2024-03-29global-functions: rename $FetchUserAgent -> $FetchUserAgentStrGravatar Christian Hesse1-2/+2
... to make sure the function does not clash with the variable we had before, as this causes issue with news and changes notification.
2024-03-20check-certificates: pass script name into local functionGravatar Christian Hesse1-6/+7
2024-03-16global-functions: generate user agent string in function...Gravatar Christian Hesse1-1/+1
... and add the caller and my shortened url.
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 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.