generated from nginx/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 89
fix: Update cert instructions for NGINX One Console #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
From this window, select the file of your choice. If you want to delete this | ||
file, Select **Edit Configuration** and select the Trash icon. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
If this was a mistake, a revert button appears. But do not wait. As noted in | ||
one of the UI messages, "This action cannot be undone once you publish the | ||
configuration." |
16 changes: 16 additions & 0 deletions
16
content/includes/nginx-one/add-file/existing-ssl-bundle.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
With this option, You can incorporate [Managed certificates]({{< relref "/nginx-one/how-to/certificates/manage-certificates.md#managed-and-unmanaged-certificates" >}}). | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
In the **Choose Certificate** drop-down, select the managed certificate of your choice, and select **Add**. You can then: | ||
|
||
1. Review details of the certificate. The next steps depend on whether the certificate is a CA bundle or a certificate / key pair. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. Enter the **Certificate File Path**, such as `/etc/ssl/nginx/mycert.crt` or `/etc/ssl/nginx/mycert.pem`. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. If you selected a key pair, you'll also enter the **Key File Path**, such as `/etc/ssl/nginx/mycert.key`. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1. If you select **Add Item**, you can add the same certificate or key to another directory. | ||
1. Select **Add**. You should now be returned to the **Edit Configuration** window. | ||
You should now see the files you specified in the directory tree. | ||
1. Select **Next** and then **Save and Publish**. | ||
You may see a message that suggests publication is in progress. | ||
1. When publication is complete, you're taken back to the **Configuration** tab. You should see the updated configuration in the window. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
First you can select the toggle to allow NGINX One Console to manaage the new certificate or bundle. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
In the screen that appears, you can add a certificate name. If you don't add a name, NGINX One will add a name for you, based on the expiration date for the certificate. | ||
|
||
You can add certificates in the following formats: | ||
|
||
- **SSL Certificate and Key** | ||
- **CA Certificate Bundle** | ||
|
||
In each case, you can upload files directly, or enter the content of the certificates in a text box. Once you upload these certificates, you may need to scroll down. You'll see: | ||
|
||
- **Certificate Details**, with the Subject Name, start and end dates. | ||
- **Key Details**, with the encryption key size and algorithm, such as RSA | ||
|
||
Select **Save and Continue**. You're taken to another screen where you can specify the locations for your files, which may be: | ||
|
||
- **Certificate File Path** | ||
- Enter the full path to your certificate, such as | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- /etc/nginx/server.crt | ||
- /etc/nginx/server.pem | ||
|
||
- **Key File Path** | ||
- Enter the full path to your certificate key, such as | ||
- /etc/nginx/server.key | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
With the **Add Item** button, you can add the file to additional directories. | ||
|
||
When complete, select **Add** to include the certificate files that you've configured to desired directories. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
docs: | ||
--- | ||
|
||
This guide explains how to add files in the F5 NGINX One Console. While you can manage files in the CLI, the NGINX One Console supports editing in a UI that resembles an Integrated Development Environment (IDE), with recommendations. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
content/nginx-one/how-to/config-sync-groups/add-file-csg.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
docs: | ||
doctypes: | ||
- task | ||
tags: | ||
- docs | ||
title: Add a file to a Config Sync Group | ||
toc: true | ||
weight: 400 | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
--- | ||
|
||
|
||
## Overview | ||
|
||
{{< include "nginx-one/add-file/overview.md" >}} | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Before you start | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Before you add files in your configuration, ensure: | ||
|
||
- You have access to the NGINX One Console. | ||
- Config Sync Groups are properly registered with NGINX One Console | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Important considerations | ||
|
||
This page applies when you want to add a file to a Config Sync Group. Any changes you make here apply to all [Instances]({{< relref "/nginx-one/glossary.md" >}}) of that Config Sync Group. | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Add a file | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
You can use the NGINX One Console to add a file to a specific Config Sync Group. To do so: | ||
|
||
1. Select the Config Sync Group to manage. | ||
1. Select the **Configuration** tab. | ||
|
||
{{< tip >}} | ||
|
||
{{< include "nginx-one/add-file/edit-config-tip.md" >}} | ||
|
||
{{< /tip >}} | ||
|
||
1. Select **Edit Configuration**. | ||
1. In the **Edit Configuration** window that appears, select **Add File**. | ||
|
||
You now have multiple options, described in the sections which follow. | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### New Configuration File | ||
|
||
Enter the name of the desired configuration file, such as `abc.conf` and select **Add**. The configuration file appears in the **Edit Configuration** window. | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### New SSL Certificate or CA Bundle | ||
|
||
{{< include "nginx-one/add-file/new-ssl-bundle.md" >}} | ||
|
||
{{< tip >}} | ||
|
||
Make sure to specify the path to your certificate in your NGINX configuration, | ||
with the `ssl_certificate` and `ssl_certificate_key` directives. | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
{{< /tip >}} | ||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
### Existing SSL Certificate or CA Bundle | ||
|
||
{{< include "nginx-one/add-file/existing-ssl-bundle.md" >}} | ||
With this option, You can incorporate [Managed certificates]({{< relref "/nginx-one/how-to/certificates/manage-certificates.md#managed-and-unmanaged-certificates" >}}). | ||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
mjang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## See also | ||
|
||
- [Create and manage data plane keys]({{< relref "/nginx-one/how-to/data-plane-keys/create-manage-data-plane-keys.md" >}}) | ||
- [View and edit NGINX configurations]({{< relref "/nginx-one/how-to/nginx-configs/view-edit-nginx-configurations.md" >}}) | ||
- [Manage certificates]({{< relref "/nginx-one/how-to/certificates/manage-certificates.md" >}}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.