require 'fastly'
api_instance = Fastly::TlsCsrsApi.new
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_csr | POST /tls/certificate_signing_requests | Create CSR |
create_csr(opts): <TlsCsrResponse> # Create CSR
Creates a certificate signing request (CSR).
api_instance = Fastly::TlsCsrsApi.new
opts = {
tls_csr: Fastly::TlsCsr.new, # TlsCsr |
}
begin
# Create CSR
result = api_instance.create_csr(opts)
p result
rescue Fastly::ApiError => e
puts "Error when calling TlsCsrsApi->create_csr: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
tls_csr | TlsCsr | [optional] |