aboutsummaryrefslogtreecommitdiffstats
path: root/check-certificates.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'check-certificates.rsc')
-rw-r--r--check-certificates.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-certificates.rsc b/check-certificates.rsc
index 5f2c710..715a6b7 100644
--- a/check-certificates.rsc
+++ b/check-certificates.rsc
@@ -17,6 +17,7 @@
:global CertificateAvailable
:global EscapeForRegEx;
+:global FetchUserAgent;
:global IfThenElse;
:global LogPrintExit2;
:global ParseKeyValueStore;
@@ -43,7 +44,7 @@
:foreach Type in={ ".pem"; ".p12" } do={
:local CertFileName ([ $UrlEncode $Name ] . $Type);
:do {
- /tool/fetch check-certificate=yes-without-crl \
+ /tool/fetch check-certificate=yes-without-crl http-header-field=({ $FetchUserAgent }) \
($CertRenewUrl . $CertFileName) dst-path=$CertFileName as-value;
$WaitForFile $CertFileName;