riboseinc / digicert

Ruby bindings for the Digicert Services API
https://www.digicert.com/services/v2/documentation
MIT License
8 stars 10 forks source link

Update to use latest 'Immediate Issuance' API response type #127

Closed ronaldtse closed 6 years ago

ronaldtse commented 6 years ago

As notified by Clint there is a new response type called "Immediate Issuance" for the "Request Certificate" endpoint.

Documentation here:

Clint:

If requests.status is “approved”, there should be two additional properties: certificate_id and certificate_chain. If there is an issue with the CA returning the certificate, it’s possible only the certificate_id will be returned. However, this also obsoletes the need to use the requests.id or id properties as you can now call the download endpoint directly using this certificate_id.

The additional response properties applies for SSL certs, including new orders, renewals, reissues, and duplicates.

Looks like it's time for a new version!

ronaldtse commented 6 years ago

@abunashir So should we close this?

abunashir commented 6 years ago

@ronaldtse: Yes, I think we are good here :)

MukilanP commented 10 months ago

How do you verify that immediate issuance is working?. Do you have any sample to generate request token?

abunashir commented 10 months ago

Hey @MukilanP - the easy way to tell if the immediate issuance is working or not by looking at the response, for immediate one the certificate_chain is present and otherwise it is omitted. Here are some more details from the Digicert doc - Certificate Immediate Issuance Doc

//cc: @ronaldtse