-
Couldn't load subscription status.
- Fork 10
Open
Description
Hi @abunashir ,
Here's the flow that we wish to utilize in our certificate generation code. Could you have a look and see what gaps we still need to fill? Thanks.
order = Digicert::Order.filter(
common_name: "*.example.com",
product_type: Digicert::Product::WildcardSsl
)
%(name1 name2).each do |name|
key = load_key(keypath[name])
csr = Digicert::Csr.new(
order: order, # obtain attributes from order that aren't provided here
key: key # only change the key in this CSR
)
duplicate_request = order.duplicate(csr: csr)
downloaded_certs = duplicate_request.download_certificate(format: "zip")
root_cert = downloaded_certs[:root]
intermediate_cert = downloaded_certs[:intermediate]
cert = downloaded_certs[:cert]
endMetadata
Metadata
Assignees
Labels
No labels