To configure the Let’s Encrypt integration, see https://octopus.com/docs/security/exposing-octopus/lets-encrypt-integration
Request the current Let’s Encrypt configuration
GET /api
Response
200 — The current Let’s Encrypt configuration for this Octopus Server
AcceptLetsEncryptTermsOfServicebooleanCertificateExpiryDatestring
Formatdate-time.CertificateThumbprintstringDnsNamestringEnabledbooleanHttpsPortintegerIPAddressstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.PathstringRegistrationEmailAddressstring
Example Response
{
"AcceptLetsEncryptTermsOfService": false,
"CertificateExpiryDate": "2020-01-01T00:00:00.000Z",
"CertificateThumbprint": "string",
"DnsName": "string",
"Enabled": false,
"HttpsPort": 0,
"IPAddress": "string",
"Id": "string",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"Self": "/api/..."
},
"Path": "string",
"RegistrationEmailAddress": "string"
}Disable Let’s Encrypt
PUT /api
To re-enable Let’s Encrypt you must go through the configuration process again.
If the integration is enabled, set Enabled to disable it.
If you set Enabled when it is already enabled, or Enabled when it is already disabled, no changes occur.
If you set Enabled when the integration is disabled, an error is returned.
Request Body
Enabledboolean (required)
Response
200 — The updated configuration
AcceptLetsEncryptTermsOfServicebooleanCertificateExpiryDatestring
Formatdate-time.CertificateThumbprintstringDnsNamestringEnabledbooleanHttpsPortintegerIPAddressstringIdstring
Gets or sets a unique identifier for this resource.LastModifiedBystring
Gets or sets the username of the user who last modified this resource.LastModifiedOnstring
Gets or sets the date/time that this resource was last modified. Formatdate-time.Linksobject
Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.PathstringRegistrationEmailAddressstring
Example Request
{
"Enabled": false
}Example Response
{
"AcceptLetsEncryptTermsOfService": false,
"CertificateExpiryDate": "2020-01-01T00:00:00.000Z",
"CertificateThumbprint": "string",
"DnsName": "string",
"Enabled": false,
"HttpsPort": 0,
"IPAddress": "string",
"Id": "string",
"LastModifiedBy": "string",
"LastModifiedOn": "2020-01-01T00:00:00.000Z",
"Links": {
"Self": "/api/..."
},
"Path": "string",
"RegistrationEmailAddress": "string"
}