-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issues with finding a reissued order #121
Comments
@clintwilson we could't find a good way of locating a newly re-issued order/certificate. Could you help shine some light on this? Thanks! |
Just to confirm the challenge you've got here: When you place a reissue request, it's difficult to determine when the new certificate has been issued so that it can be downloaded. Does the Orders Lists filter for "reissue_processing" help with monitoring for a completed reissue?
|
@clintwilson the use case here is a bit different. We currently take advantage of DigiCert's "unlimited issuance" to issue multiple certificates for a hostname using different keys, like this:
The challenge we have is, in step 4, we can't figure out which certificate was created corresponding to $key_1 through $request_id_1. Perhaps there have a method of doing so? |
In step 1, are you sending a POST to /services/v2/order/certificate/$order_id/duplicate or to /services/v2/order/certificate/$order_id/reissue? |
@clintwilson sorry for the delay in replying, obviously I missed it. In step 1 we had the same issue with reissue and duplicate. I didn't know we could use the For example, duplicating with key-1 then with key-2 in a short period of time, the |
And this issue is greatly helped by the new response type of #127 . |
I've done some investigation here. The only attribute that can be matched between a Request and a Certificate is the CSR content itself. The Using the CSR to match will fail if the same CSR is used to generate two duplicates within a short time. @clintwilson would there be a better option of linking a particular request to a particular certificate? |
I confirm that this is an ongoing problem - we can't reliably link a request to its generated certificate. |
@abunashir Can you fix the way to find the reissued order? |
@kwkwan, @ronaldtse: I'm not sure what would be the best possible solution for this, but do you think if we add a finder interface ( |
@abunashir we are not actually doing a "reissue", but a "duplicate". I actually thought the
? |
But if we're talking about "reissue", yes a finder interface would work 😉 |
@ronaldtse: I'm sorry but I'm not exactly sure what we need to do regarding this issue, we already have that functionality implemented for a duplicate certificate finder, does that solve our problem or should we add another interface? cc: @kwkwan |
ping @ronaldtse |
We are working on a
CLI
, where we are automating the order reissuing process and download the reissued certificate and then provision it to our host, but the problem we have had is with finding out the correct reissued certificate.In the reissuing process, if we try to retrieve the status for the newly created request then it returns
approved
or another status, which does not clearly identify if that certificate has been issued.And the
order
node in the request provides the details for that request, but thestatus
always statesneeds_approval
although the request has already been approved or issued.Currently, we did some comparison of the
last_reissued_date
and dates to find out the reissued order but an easier interface would help.Reference: #117
The text was updated successfully, but these errors were encountered: