Skip to content

Conversation

@tsohr
Copy link
Owner

@tsohr tsohr commented Aug 15, 2018

I didn't read the error message came out from the execution and carelessly repeating the command and got blocked.
So the server returning error message on the creating order process but the code just failed looks like and just die.

[root@mapper nginx]# acme-nginx -d ***
2018-08-14 23:54:31,441 - INFO - trying to create account key /etc/ssl/private/letsencrypt-account.key
2018-08-14 23:54:31,802 - INFO - trying to register acmev2 account
2018-08-14 23:54:32,183 - INFO - already registered
2018-08-14 23:54:32,183 - INFO - trying to create domain key
2018-08-14 23:54:32,183 - INFO - acmev2 http challenge
2018-08-14 23:54:32,183 - INFO - preparing new order
2018-08-14 23:54:32,555 - INFO - order created
Traceback (most recent call last):
File "/usr/bin/acme-nginx", line 11, in
sys.exit(main())
File "/usr/lib/python3.6/dist-packages/acme_nginx/client.py", line 106, in main
acme.get_certificate()
File "/usr/lib/python3.6/dist-packages/acme_nginx/AcmeV2.py", line 190, in get_certificate
self.solve_http_challenge(directory)
File "/usr/lib/python3.6/dist-packages/acme_nginx/AcmeV2.py", line 96, in solve_http_challenge
for url in order['authorizations']:
KeyError: 'authorizations'

So I added the message.

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

Successfully merging this pull request may close these issues.

2 participants