Skip to content

Commit a1a9bc1

Browse files
Merge pull request #2407 from OctopusDeploy/nelson/certificates
Update certificates section and fix broken retention icons
2 parents 397eb45 + f624281 commit a1a9bc1

26 files changed

+44
-37
lines changed

dictionary-octopus.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ Itoa
150150
ITSM
151151
jjones
152152
jsondecode
153+
JSSE
153154
jwks
154155
keyrings
155156
keyserver
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
Loading
Loading
Loading
Binary file not shown.

src/pages/docs/administration/retention-policies/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
44
modDate: 2024-08-02
55
title: Retention policies
6-
icon: fa-broom
6+
icon: fa-solid fa-broom
77
description: Retention policies allow you to specify the releases, packages and files you want to keep as well as the ones you want cleaned up.
88
navOrder: 70
99
hideInThisSectionHeader: true

src/pages/docs/administration/retention-policies/retention-policy-tentacle-cleanup-and-troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
44
modDate: 2024-08-02
55
title: Retention policy Tentacle cleanup and troubleshooting
6-
icon: fa-bug
6+
icon: fa-solid fa-bug
77
description: Reviewing and troubleshooting why some files aren't cleaned up by Octopus retention policies.
88
---
99

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Add a certificate to Octopus
6+
icon: fa-solid fa-lock
67
description: Upload a X.509 certificate to be managed by Octopus Deploy
78
navOrder: 10
89
---
910

10-
To add a certificate to Octopus, navigate to **Library ➜ Certificates ➜ Add Certificate**
11+
To add a certificate to Octopus, navigate to **Deploy ➜ Certificates ➜ Add Certificate**
1112

1213
:::figure
1314
![Add certificate](/docs/deployments/certificates/images/add-certificate.png)
@@ -16,7 +17,8 @@ To add a certificate to Octopus, navigate to **Library ➜ Certificates ➜ Add
1617
When selecting your certificate file for upload, it must be one of the [supported file-formats](/docs/deployments/certificates).
1718

1819
:::div{.hint}
19-
**Security Recommendation: Scope your certificates to the appropriate Environments**
20+
**Security Recommendation: Scope your certificates to the appropriate environments**
21+
2022
If your certificate contains a production private-key, it is strongly recommended to scope your certificate to the appropriate environment.
21-
This allows you to assign permissions based on Environments, ensuring that only users with appropriate permissions in the scoped Environments will be able to access the private-key.
23+
This allows you to assign permissions based on environments, ensuring that only users with appropriate permissions in the scoped environments will be able to access the private-key.
2224
:::

src/pages/docs/deployments/certificates/archiving-and-deleting-certificates.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Archive and delete certificates
6+
icon: fa-solid fa-lock
67
description: Archiving and Deleting certificates managed by Octopus Deploy
78
navOrder: 100
89
---
@@ -15,7 +16,7 @@ Archiving a certificate will prevent it from being selected as the value of a va
1516
![](/docs/deployments/certificates/images/archive-certificate.png)
1617
:::
1718

18-
Archived certificates can be viewed by navigating to **Library ➜ Certificates ➜ View Archive**.
19+
Archived certificates can be viewed by navigating to **Deploy ➜ Certificates ➜ View Archive**.
1920

2021
When a certificate is [replaced](/docs/deployments/certificates/replace-certificate), it is automatically archived if it is not already.
2122

@@ -24,9 +25,9 @@ When a certificate is [replaced](/docs/deployments/certificates/replace-certific
2425
Once a certificate has been archived, it can then be deleted.
2526

2627
:::div{.warning}
27-
This is a hard delete. Once deleted, a certificate and it's private key (if present) cannot be recovered.
28+
This is a hard delete. Once deleted, a certificate and its private key (if present) cannot be recovered.
2829
:::
2930

3031
You will be prevented from deleting a certificate if it is the value of one or more variables. You can view a certificates usage on the 'Usage' tab of the certificate details page.
3132

32-
Variables snap-shotted as part of a release will not prevent deleting a certificate. Attempting to deploy a release which references a deleted certificate will result in an error.
33+
Variables snapshotted as part of a release will not prevent deleting a certificate. Attempting to deploy a release which references a deleted certificate will result in an error.

src/pages/docs/deployments/certificates/certificate-chains.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Certificate chains
6+
icon: fa-solid fa-lock
67
description: Manage certificate files containing a chain of certificates
78
navOrder: 15
89
---
910

10-
Uploaded PFX or PEM files may contain a certificate-chain. i.e. A certificate with a private-key, plus one or more authority certificates.
11+
Uploaded PFX or PEM files may contain a certificate chain. i.e. A certificate with a private-key, plus one or more authority certificates.
1112

1213
Certificates which contain a chain are indicated by a chain icon on the certificate card, as shown below:
1314

@@ -23,7 +24,7 @@ The details page will show the details of all certificates in the chain:
2324

2425
## Importing certificate chains
2526

26-
When a certificate-chain is imported to one of the Windows Certificate Stores (either via the [Import Certificate Step](/docs/deployments/certificates/import-certificate-step) or by using the Certificate in an IIS HTTPS Binding) the authority certificates will be automatically imported into the CA or Root stores (Root if the authority certificate is self-signed, CA otherwise as it is an intermediate authority).
27+
When a certificate-chain is imported to one of the Windows Certificate Stores (either via the [Import Certificate Step](/docs/deployments/certificates/import-certificate-step) or by using the certificate in an IIS HTTPS Binding) the authority certificates will be automatically imported into the CA or Root stores (Root if the authority certificate is self-signed, CA otherwise as it is an intermediate authority).
2728

2829
_Note:_ Authority certificates will always be imported to the LocalMachine location, even if the subject certificate is imported to a user-specific location.
2930
This is because importing to the Root store for a specific user results in a security-prompt being displayed, which obviously doesn't work with automated deployments.
@@ -36,8 +37,8 @@ When downloading a certificate containing a chain, the behavior depends on the f
3637
- `PFX`: The entire chain will be included in the exported file.
3738
- `DER`: Only the subject certificate will be included. DER files never contain chains.
3839
- `PEM`: Download-dialog provides options to include:
39-
- Primary Certificate.
40-
- Primary and Chain Certificates.
41-
- Chain Certificates Only.
40+
- Primary Certificate
41+
- Primary and Chain Certificates
42+
- Chain Certificates Only
4243

4344
![Download Chain in PEM format dialog](/docs/deployments/certificates/images/download-pem-chain.png)

src/pages/docs/deployments/certificates/export-certificate.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Export a certificate
6+
icon: fa-solid fa-lock
67
description: Export a certificate managed by Octopus as a selected file-format
78
navOrder: 60
89
---
910

10-
Certificates can be downloaded from the Octopus Portal to your local machine. The certificate may be exported in any of the [supported file-formats](/docs/deployments/certificates), or exactly as it was originally uploaded.
11+
Certificates can be downloaded from Octopus to your local machine. The certificate may be exported in any of the [supported file-formats](/docs/deployments/certificates), or exactly as it was originally uploaded.
1112

1213
:::figure
1314
![](/docs/deployments/certificates/images/download-certificate-btn.png)
1415
:::
1516

16-
![](/docs/deployments/certificates/images/download-certificate-dialog.png)
17-
1817
## Private-keys
1918

2019
If the certificate includes a private-key, then user requires the _Export certificate private-keys_ permission to download the certificate in a format which includes the private-key.

src/pages/docs/deployments/certificates/import-certificate-step.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2024-04-23
4+
modDate: 2024-08-09
55
title: Import certificate to Windows certificate store
6+
icon: fa-solid fa-lock
67
description: The Import Certificate deployment step allows you to import a certificate managed by Octopus into one of the Windows Certificate Stores as part of a deployment process
78
navOrder: 30
89
---

src/pages/docs/deployments/certificates/index.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Certificates
6+
icon: fa-solid fa-lock
67
description: Manage X.509 certificates with Octopus Deploy
78
navOrder: 80
89
hideInThisSectionHeader: true
910
---
1011

11-
X.509 certificates are a key component of many deployment processes. Octopus Deploy provides the ability to securely store and manage your certificates, and easily use them in your Octopus Projects.
12+
X.509 certificates are a key component of many deployment processes. Octopus Deploy provides the ability to securely store and manage your certificates, and easily use them in your Octopus projects.
1213

1314
## Supported certificate file formats
1415

@@ -31,7 +32,7 @@ The following certificate formats are supported in Octopus Deploy:
3132

3233
## Configure subscriptions for expiry notifications
3334

34-
[Octopus Subscriptions](/docs/administration/managing-infrastructure/subscriptions) can be used to configure notifications when certificates are close to expiry or have expired.
35+
[Subscriptions](/docs/administration/managing-infrastructure/subscriptions) can be used to configure notifications when certificates are close to expiry or have expired.
3536

3637
There is a "Certificate expiry events" event-group, and three events:
3738

@@ -78,4 +79,4 @@ Note that certificates can not be selected directly when configuring a deploymen
7879

7980
## Learn more
8081

81-
- [Lets Encrypt runbook examples](/docs/runbooks/runbook-examples/routine/lets-encrypt-renew-certificate).
82+
- [Let's Encrypt runbook examples](/docs/runbooks/runbook-examples/routine/lets-encrypt-renew-certificate).

src/pages/docs/deployments/certificates/java-keystore-export.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
44
modDate: 2023-01-01
55
title: Export a certificate to a Java KeyStore
6+
icon: fa-solid fa-lock
67
description: Export a Java KeyStore from a certificate managed by Octopus.
78
navOrder: 70
89
---

src/pages/docs/deployments/certificates/replace-certificate.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Replace a certificate
6+
icon: fa-solid fa-lock
67
description: Replace a certificate managed by Octopus Deploy
78
navOrder: 80
89
---
@@ -18,7 +19,3 @@ To replace a certificate, navigate to the certificate details page and click 'Re
1819
:::figure
1920
![](/docs/deployments/certificates/images/replace-certificate-btn.png)
2021
:::
21-
22-
Select the replacement certificate file and password (if required):
23-
24-
![](/docs/deployments/certificates/images/replace-certificate-dialog.png)

src/pages/docs/deployments/certificates/tomcat-certificate-import.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
44
modDate: 2023-01-01
55
title: Import certificates into Tomcat
6+
icon: fa-solid fa-lock
67
description: Configure Tomcat with a certificate managed by Octopus.
78
navOrder: 40
89
---
@@ -11,9 +12,9 @@ With the `Deploy a certificate to Tomcat` step, certificates managed by Octopus
1112

1213
## Prerequisites
1314

14-
Before a certificate can be deployed to a Tomcat instance, the certificate itself must be uploaded to Octopus. [Add a Certificate to Octopus](/docs/deployments/certificates/add-certificate) provides instructions on how to add a new certificate to the Octopus library.
15+
Before a certificate can be deployed to a Tomcat instance, the certificate itself must be uploaded to Octopus. [Add a certificate to Octopus](/docs/deployments/certificates/add-certificate) provides instructions on how to add a new certificate to the Octopus library.
1516

16-
Once uploaded, the certificate has to be referenced by a variable. [Certificate Variables](/docs/projects/variables/certificate-variables) provides instructions on how to define a certificate variable.
17+
Once uploaded, the certificate has to be referenced by a variable. [Certificate variables](/docs/projects/variables/certificate-variables) provides instructions on how to define a certificate variable.
1718

1819
## Deploying a certificate to Tomcat
1920

src/pages/docs/deployments/certificates/troubleshooting.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2023-01-01
4+
modDate: 2024-08-09
55
title: Troubleshooting invalid certificates
6+
icon: fa-solid fa-lock
67
description: How to troubleshoot invalid certificates that won't load in Octopus Deploy
78
navOrder: 110
89
---
@@ -25,9 +26,9 @@ This error implies that the file being uploaded might be an SSH Key and not a va
2526

2627
This error implies that a certificate violates the X.690 spec, section 8.3.2.
2728

28-
If you receive this error when creating a deployment, please review the certificate's variables on the project, and try to view each one in **Library ➜ Certificates**. One of them will either fail to load, or show the message: `Invalid Certificate: This certificate was unable to be parsed and may be in an invalid format`. Please modify any references to use a new, valid certificate, and use the REST API to delete the certificate in question.
29+
If you receive this error when creating a deployment, please review the certificate's variables on the project, and try to view each one in **Deploy ➜ Certificates**. One of them will either fail to load, or show the message: `Invalid Certificate: This certificate was unable to be parsed and may be in an invalid format`. Please modify any references to use a new, valid certificate, and use the REST API to delete the certificate in question.
2930

30-
This error may also appear on the variables page: `An error occurred on the mapping CertificateResource.CertificateDataFomat = Certificate.CertificateDataFormat [attempted value was (unknown)]: corrupted stream detected malformed integer`. Please review the certificates in **Library ➜ Certificates** to find the invalid one, update any usages to use a new valid certificate, and delete the old certificate via the REST API.
31+
This error may also appear on the variables page: `An error occurred on the mapping CertificateResource.CertificateDataFormat = Certificate.CertificateDataFormat [attempted value was (unknown)]: corrupted stream detected malformed integer`. Please review the certificates in **Deploy ➜ Certificates** to find the invalid one, update any usages to use a new valid certificate, and delete the old certificate via the REST API.
3132

3233
Please see [BC-CSharp issue #156](https://github.com/bcgit/bc-csharp/issues/156) for further information.
3334

@@ -41,7 +42,7 @@ This is the same root cause as the message above, however, it includes details a
4142

4243
This can happen when certificates include extension data without specifying the certificate format of v3. If the version is omitted, then v1 is implied. Since only v3 certificates are allowed to have this additional data, this leads to an invalid certificate. Please see [BC-CSharp issue #158](https://github.com/bcgit/bc-csharp/issues/158) for further information.
4344

44-
Please review the certificates in **Library ➜ Certificates** to find the invalid one, update any usages to use a new valid certificate, and delete the old certificate via the REST API.
45+
Please review the certificates in **Deploy ➜ Certificates** to find the invalid one, update any usages to use a new valid certificate, and delete the old certificate via the REST API.
4546

4647
### `Invalid certificate detected - Unable to parse certificate`
4748

src/pages/docs/deployments/certificates/wildfly-certificate-import.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
44
modDate: 2024-04-10
55
title: Import certificates into WildFly and JBoss EAP
6+
icon: fa-solid fa-lock
67
description: Configure WildFly or JBoss EAP with a certificate managed by Octopus.
78
navOrder: 50
89
---
@@ -11,7 +12,7 @@ With the `Configure certificate for WildFly or EAP` step, certificates managed b
1112

1213
## Prerequisites
1314

14-
If a new KeyStore is to be created as part of the deployment, the certificate being deployed must be referenced by a variable. [Add a Certificate to Octopus](/docs/deployments/certificates/add-certificate/) provides instructions on how to add a new certificate to the Octopus library, and [Certificate Variables](/docs/projects/variables/certificate-variables) provides instructions on how to define a certificate variable.
15+
If a new KeyStore is to be created as part of the deployment, the certificate being deployed must be referenced by a variable. [Add a certificate to Octopus](/docs/deployments/certificates/add-certificate/) provides instructions on how to add a new certificate to the Octopus library, and [Certificate variables](/docs/projects/variables/certificate-variables) provides instructions on how to define a certificate variable.
1516

1617
## Common connection settings
1718

0 commit comments

Comments
 (0)