glatzert / ACME-Server-ADCS

ACME (RFC 8555) Server compatible implementation, connecting to Active Directory Certificate Services (ADCS)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about Account endpoint implementation

chriske opened this issue · comments

First of all, I'd like to thank you for your work, this application is amazing!

I made a PoC integration with your application for one of my clients: I wanted to integrate it with cert-manager (https://cert-manager.io/). If you are not familiar with it, it can request and renew certificates in a Kubernetes environment with ACME protocol.

I was able to integrate it with your application, but when I wanted to request a new certificate, I found in the IIS logs, that the app throws a NotImplemented exception for the Account endpoints. I'm not familiar with the implementation details of ACME protocol (I don't know that these endpoints are neccessary or not), but I would like to ask: will you implement these endpoints as well in the future?

Thanks for your answer in advance

I took a first look into the "FindAccount" functionality.
It should not be triggered, if the tool does not submit "existingAccountOnly" (a parameter controlling, if you create or look for an account). Nevertheless it might do that before creation to not run into an error, if the account already exists (but into an error, if it does not).

The implementation of that functionality is a little bit more work than anticipated, which esentially is my fault, since I did not use SQLite for storage, but the harddrive AND decided to use a folder named by the accountId.

I'll have to do a little rewriting to fix that problem, so I'll need another week.

I implemented the function.
But I had not time to check it in a real environment