Hi,
since the old topic (look here) has been closed, I'll start a new one. The problem still exists.
OS: Windows 10 Home, I'm admin
Domains: Some Dyndns, e.g. 24.dedyn.io
certbot 1.23.0
- If I use empty batch files:
C:\Certbot# certbot certonly ^
--standalone ^
--dry-run ^
--test-cert ^
--pre-hook "C:\Certbot\empty.bat" ^
--post-hook "C:\Certbot\empty.bat" ^
--preferred-challenges http ^
--email me@somewhere ^
-d 24.dedyn.io
Saving debug log to C:\Certbot\log\letsencrypt.log
Exception in thread Thread-2:
Traceback (most recent call last):
File "threading.py", line 973, in _bootstrap_inner
File "threading.py", line 910, in run
File "subprocess.py", line 1479, in _readerthread
File "encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 138: character maps to <undefined>
An unexpected error occurred:
AttributeError: 'NoneType' object has no attribute 'strip'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
if I use these batch files:
pre-hook.bat
@echo off
START "" /MIN "D:\WinNMP\WinNMP.exe" "/k" >nul 2>nul
post-hook.bat
@echo off
START "" /MIN "D:\WinNMP\WinNMP.exe" "/s" >nul 2>nul
C:\Certbot# certbot certonly ^
--standalone ^
--dry-run ^
--test-cert ^
--pre-hook "C:\Certbot\pre-hook.bat" ^
--post-hook "C:\Certbot\post-hook.bat" ^
--preferred-challenges http ^
--email klemm.f@gmx.de ^
-d 24.dedyn.io
Saving debug log to C:\Certbot\log\letsencrypt.log
Exception in thread Thread-2:
Traceback (most recent call last):
File "threading.py", line 973, in _bootstrap_inner
File "threading.py", line 910, in run
File "subprocess.py", line 1479, in _readerthread
File "encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 138: character maps to <undefined>
An unexpected error occurred:
AttributeError: 'NoneType' object has no attribute 'strip'
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile C:\Certbot\log\letsencrypt.log or re-run Certbot with -v for more details.
But a running WinNMP.exe will be terminated.
- The problem with the space in the path still persists
--pre-hook "C:\A test\a.bat"
--pre-hook '"C:\A test\a.bat"'
--pre-hook """C:\A test\a.bat"""
--pre-hook "\"C:\A test\a.bat\""
Everything doesn't work.
- The ACLs are not set correctly. After a restart, neither the web server nor me as a user can access the certificates.
Am I the only one who wants to use certbot on windows?
Are there any intentions/plans to fix these bugs?
Should I better open an issue on github?
Questions, questions, questions...
Please help me.