-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.IO.IOException: The directory name is invalid. #300
Comments
P.S: I have the latest version (v1.9.1) and I am running it on windows server 2012 R2. |
Hey I had this problem as well, and I was able to solve it after installing new updates and disabling symantec antivirus on the server. Hope that helps. |
Hey I had this problem as well |
I'm getting exactly the same error. Using V1.9.3, running as administrator. Is there any workaround? Thanks!! |
This should be fixed in #496, please report any issues there! |
Some months ago, I've generated my certificates using letsencrypt-win-simple and everything worked fine However, my certificate will be expired in 10 days and I did not set the auto-renewal, so I tried to regenerate the certificate the same way, but I've got this error:
Requesting Certificate
Request Status: Created
Saving Certificate to C:\Users\Administrator\AppData\Roaming\letsencrypt-win-si
mple\httpsacme-v01.api.letsencrypt.org\mydomain.com-crt.der
System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.InternalGetTempFileName(Boolean checkHost)
at LetsEncrypt.ACME.Simple.Program.GetIssuerCertificate(CertificateRequest ce
rtificate, CertificateProvider cp)
at LetsEncrypt.ACME.Simple.Program.GetCertificate(Target binding)
at LetsEncrypt.ACME.Simple.Program.Auto(Target binding)
at LetsEncrypt.ACME.Simple.Plugin.Auto(Target target)
at LetsEncrypt.ACME.Simple.Program.Main(String[] args)
The folder
C:\Users\Administrator\AppData\Roaming\letsencrypt-win-si
mple\httpsacme-v01.api.letsencrypt.org\
Exists on the server and I could find mydomain.com-crt.der on that.
I tried removing related files in the directory, and running the file again. I've go the same error message, but also I could see that new files has been added to \httpsacme-v01.api.letsencrypt.org\ folder.
The text was updated successfully, but these errors were encountered: