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

EJBCA-CE unknown error #192

Closed
grindsa opened this issue Nov 19, 2024 Discussed in #191 · 2 comments
Closed

EJBCA-CE unknown error #192

grindsa opened this issue Nov 19, 2024 Discussed in #191 · 2 comments
Labels
bug Something isn't working

Comments

@grindsa
Copy link
Owner

grindsa commented Nov 19, 2024

Discussed in #191

Originally posted by danieldownload November 19, 2024
Hi there,

just trying go get acme working with our ejbca-ca but I'm not able to find the mistake.

This is how far it works:

[Tue Nov 19 12:37:59.191064 2024] [wsgi:error] [pid 18:tid 140605804742208] [remote 192.168.14.10:48466] 192.168.14.10 /acme/chall/zA49O0XgTcmQ {'data': {'type': 'http-01', 'token': '- modified -', 'status': 'valid', 'validated': '2024-11-19T12:37:59Z', 'url': 'http://ejbca-node1.xxx:22280/acme/chall/zA49O0XgTcmQ'}, 'header': {'Link': '<http://ejbca-node1.xxx:22280/acme/authz/>;rel="up"', 'Replay-Nonce': '- modified -'}, 'code': 200}
[Tue Nov 19 12:38:06.576587 2024] [wsgi:error] [pid 18:tid 140605922240064] [remote 192.168.14.10:48468] 192.168.14.10 /acme/order/z06UBuy04jsJ {'header': {'Location': 'http://ejbca-node1.xxx:22280/acme/order/z06UBuy04jsJ', 'Replay-Nonce': '- modified -'}, 'data': {'status': 'ready', 'expires': '2024-11-20T12:37:59Z', 'identifiers': [{'type': 'dns', 'value': 'labsprung.net.xxx'}], 'authorizations': ['http://ejbca-node1.xxx:22280/acme/authz/GFJBMlEuPa84'], 'finalize': 'http://ejbca-node1.xxx:22280/acme/order/z06UBuy04jsJ/finalize'}, 'code': 200}
[Tue Nov 19 12:38:07.013178 2024] [wsgi:error] [pid 18:tid 140605770102336] CAhandler.enroll(): Unknown error
[Tue Nov 19 12:38:07.013349 2024] [wsgi:error] [pid 18:tid 140605770102336] acme2certifier enrollment error: Unknown error
[Tue Nov 19 12:38:07.049087 2024] [wsgi:error] [pid 18:tid 140605804742208] [remote 192.168.14.10:48468] 192.168.14.10 /acme/order/z06UBuy04jsJ/finalize {'code': 500, 'header': {'Replay-Nonce': '- modified -'}, 'data': {'status': 500, 'type': 'urn:ietf:params:acme:error:serverInternal', 'detail': 'enrollment failed'}}

Any idea what the problem can be?

Thx
Daniel

@grindsa grindsa added the bug Something isn't working label Nov 19, 2024
@danieldownload
Copy link

I found my mistake, in acme_srv.cfg I had the full api url in the directive api_host, so the called api url was wrong.
After changing it to https://[ejbca api url] it worked.

@grindsa
Copy link
Owner Author

grindsa commented Nov 20, 2024

Thx, i am closing the issue then...

@grindsa grindsa closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants