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

Works with 2008R2 and above. #24

Closed
ecc256 opened this issue Nov 17, 2015 · 3 comments
Closed

Works with 2008R2 and above. #24

ecc256 opened this issue Nov 17, 2015 · 3 comments

Comments

@ecc256
Copy link

ecc256 commented Nov 17, 2015

The only problem was tempfile.NamedTemporaryFile() opens file with non-shared access, so openssl can neither read .json nor write to .sig files.
Quick fix was to close file handle and reopen it before seek(0) so openssl can do its job

openssl errors
.sig
openssl dgst Error opening output file system library:fopen:Broken pipe:
.json
register_bpl9wi.json: Permission denied

@diafygi
Copy link
Owner

diafygi commented Nov 17, 2015

@ecc256 Can you please clarify? What is 2008R2? Also, the reason why I'm using NamedTemporaryFiles is because they will automatically disappear when an error occurs or when the program exists. If we save/reopen the files, will they still disappear if an exception is raised (e.g. if ACME's server is down or something?) or when the program exits?

@ecc256
Copy link
Author

ecc256 commented Nov 17, 2015

@diafygi,
2008R2 is one the Redmont OSs.
The is a portability issue with tempfile.NamedTemporaryFile, if you don’t use Redmont stuff, you've never run into it, probably.

@diafygi
Copy link
Owner

diafygi commented Nov 24, 2015

@ecc256 Can you please try my new browser-based client (https://gethttpsforfree.com)? It doesn't use python, so it shouldn't have the Windows issues that you're having.

@diafygi diafygi closed this as completed Nov 24, 2015
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