Show / Hide Table of Contents

Class CreateCertificateDetails

The data used to create a new SSL certificate.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Inheritance
object
CreateCertificateDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class CreateCertificateDetails

Properties

CertificateData

Declaration
[Required(ErrorMessage = "CertificateData is required.")]
[JsonProperty(PropertyName = "certificateData")]
public string CertificateData { get; set; }
Property Value
Type Description
string

The data of the SSL certificate.

Note: Many SSL certificate providers require an intermediate certificate chain to ensure a trusted status. If your SSL certificate requires an intermediate certificate chain, please append the intermediate certificate key in the certificateData field after the leaf certificate issued by the SSL certificate provider. If you are unsure if your certificate requires an intermediate certificate chain, see your certificate provider's documentation.

The example below shows an intermediate certificate appended to a leaf certificate.

Remarks

Required

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment in which to create the SSL certificate.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name for the SSL certificate. The name can be changed and does not need to be unique.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

IsTrustVerificationDisabled

Declaration
[JsonProperty(PropertyName = "isTrustVerificationDisabled")]
public bool? IsTrustVerificationDisabled { get; set; }
Property Value
Type Description
bool?

Set to true if the SSL certificate is self-signed.

PrivateKeyData

Declaration
[Required(ErrorMessage = "PrivateKeyData is required.")]
[JsonProperty(PropertyName = "privateKeyData")]
public string PrivateKeyData { get; set; }
Property Value
Type Description
string

The private key of the SSL certificate.

Remarks

Required

In this article
Back to top