Last active
January 27, 2023 03:47
-
-
Save earlgreyxxx/1aec696131d7ca2429f68aca38d4b5e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
REM certbot wrapper | |
REM renew-sslcert [test] | |
REM testを指定すると、--dry-run (シミュレーション)を付けて実行します。 | |
SETLOCAL | |
if "%~1"=="test" ( | |
SET DRYRUN=--dry-run | |
) else ( | |
SET DRYRUN= | |
) | |
certbot renew --manual --key-type rsa --manual-auth-hook certbot-preauth.cmd --manual-cleanup-hook certbot-postauth.cmd %DRYRUN% | |
ENDLOCAL | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment