Skip to content

Instantly share code, notes, and snippets.

@soup-bowl
Created November 21, 2017 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soup-bowl/3b1506ad3d26d442cebf6af9e0da5377 to your computer and use it in GitHub Desktop.
Save soup-bowl/3b1506ad3d26d442cebf6af9e0da5377 to your computer and use it in GitHub Desktop.
cacert.pem auto-downloader (for Task Sheduler)
@echo off
SET source=C:\
del %source%cacert.pem.bak
rename %source%cacert.pem cacert.pem.bak
wget.exe -O %source%cacert.pem "https://curl.haxx.se/ca/cacert.pem"
@soup-bowl
Copy link
Author

soup-bowl commented Nov 21, 2017

(Obviously) needs a copy of wget for Windows either PATH'ed or in the same directory. Sheduled to run bi-monthly, since the updates don't need to be that frequent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment