Skip to content
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

Directory Name Invalid #496

Closed
iand123 opened this issue Aug 3, 2017 · 2 comments
Closed

Directory Name Invalid #496

iand123 opened this issue Aug 3, 2017 · 2 comments
Milestone

Comments

@iand123
Copy link

iand123 commented Aug 3, 2017

I have had this issue on two seperate windows VM's now. Upon first install and use the program works fine. if i come back a couple of days later it doesnt work with the below output. A reboot of the machine works fine but as its a production VM i cant always do this in the middle of the day when trying to add certs

Saving Certificate to C:\Users\Administrator\AppData\Roaming\letsencrypt-win-sim
ple\httpsacme-v01.api.letsencrypt.org\www.websiteremoved.net-crt.der
Exception IOException {Data=[], Message="The directory name is invalid.
", InnerException=null, TargetSite=Void WinIOError(Int32, System.String), StackT
race=" 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)", HelpLink=null, Sourc
e="mscorlib", HResult=-2147024629}

When i go to the path mentioned above the file is there. Reproduced in 1.93 and 1.94 beta 5

@iand123
Copy link
Author

iand123 commented Aug 3, 2017

Forgot to say CMD is running as administrator

@WouterTinus
Copy link
Member

I will push a small change to download the temporary file to same place where the final files are stored. Please try the upcoming 1.9.4-beta6 to check if that helps in your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants