README.md in digicert-0.2.0 vs README.md in digicert-0.3.0
- old
+ new
@@ -248,10 +248,21 @@
Digicert::Domain.all(filter_params_hash)
```
### Submitting Orders
+#### Important Note
+
+Recently DigiCert improved the certificate issuance process to allow for
+[immediate certificate issuance]. It does not require us to change anything on
+our API calls but now the response will be different based on your DigiCert
+account settings.
+
+If you have everything setup in place and any order is eligible for immediate
+issuance then the certificate will be included with the response. Please check
+the [certificate download spec] for inspiration.
+
#### View Product List
Use this interface to retrieve a list of available products for an account.
```ruby
@@ -274,11 +285,11 @@
```ruby
Digicert::CSRGenerator.generate(
common_name: "example.com",
san_names: ["example.com", "www.example.com"],
rsa_key: File.read("your_rsa_key_file_path"),
- organization: Digicert::Organization.first,
+ organization: Digicert::Organization.all.first,
)
```
#### Create any type of order
@@ -424,10 +435,32 @@
disable_renewal_notifications: false,
renewal_of_order_id: 314152,
)
```
+#### Order Private Client Premium Certificate
+
+Use this interface to order a Private Client Premium Certificate.
+
+```ruby
+Digicert::ClientCertificate::PrivatePremium.create(
+ certificate: {
+ organization_units: ["Developer Operations"],
+
+ csr: "------ [CSR HERE] ------",
+ emails: ["a.name@example.com"],
+ common_name: "Common Name",
+ signature_hash: "sha256",
+ },
+ organization: { id: "12345" },
+ validity_years: 3,
+ auto_renew: nil,
+ container: { id: "654321" },
+ payment_method: "balance",
+)
+```
+
#### Order Email Security Plus
Use this interface to order a Email Security Plus Certificate
```ruby
@@ -862,5 +895,7 @@
[riboseinc]: https://www.ribose.com
[issues]: https://github.com/riboseinc/digicert/issues
[squash]: https://github.com/thoughtbot/guides/tree/master/protocol/git#write-a-feature
[sandi-metz]: http://robots.thoughtbot.com/post/50655960596/sandi-metz-rules-for-developers
+[immediate certificate issuance]: https://www.digicert.com/certcentral-support/immediate-certificate-issuance-feature.htm
+[certificate download spec]: https://github.com/riboseinc/digicert/blob/master/spec/acceptance/certificate_download_spec.rb#L5