-
Notifications
You must be signed in to change notification settings - Fork 37
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
Self-Hosted Custom CA Update #3061
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1644d91
docs: DOC-1224
karl-cardenas-coding a6a2b4e
docs: vertex steps
karl-cardenas-coding 378e3f9
Merge branch 'master' into airgap-scar-steps
karl-cardenas-coding 435f819
docs: updated instructions
karl-cardenas-coding 1f59818
Merge branch 'master' into airgap-scar-steps
karl-cardenas-coding 879676d
Merge branch 'master' into airgap-scar-steps
karl-cardenas-coding fc9c8bf
Apply suggestions from code review
karl-cardenas-coding 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 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 |
---|---|---|
|
@@ -237,23 +237,42 @@ The default container runtime for OVAs is [Podman](https://podman.io/), not Dock | |
``` | ||
|
||
19. If you have custom SSL certificates you want to apply to the image and pack registry, and the Spectro Cloud | ||
Repository, copy the custom SSL certificates, in base64 PEM format, to the airgap support VM. The custom | ||
certificates must be placed in the **/opt/spectro/ssl** folder. Include the following files: | ||
|
||
- **server.crt** | ||
- **server.key** | ||
Repository, copy the custom SSL certificates, in base64 PEM format, to the airgap support VM. | ||
|
||
If you do not provide a custom SSL certificate, the airgap setup process will generate a self-signed certificate for | ||
you. | ||
|
||
:::warning | ||
|
||
The custom SSL certificates must be in base64 PEM format. If you have custom SSL certificates in a different format, | ||
convert them to base64 PEM format before copying them to the support VM. The airgap setup process also expects the | ||
files to be named **server.crt** and **server.key**. | ||
Three items you need to keep in mind when providing custom SSL certificates: | ||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- The custom SSL certificates must be in base64 PEM format. If you have custom SSL certificates in a different | ||
format, convert them to base64 PEM format before copying them to the support VM. The airgap setup process also | ||
expects the certificate files to be named **server.crt** and **server.key**. | ||
|
||
- The custom certificate's Fully Qualified Domain Name (FQDN) must match the hostname or IP address you provide for | ||
the airgap support VM. Otherwise, the airgap setup process will fail due to a certificate mismatch. | ||
|
||
- The custom SSL certificates files must have the following permissions bits set: | ||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- **server.crt**: 644 | ||
- **server.key**: 600 | ||
|
||
::: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [vale] reported by reviewdog 🐶 |
||
|
||
The custom certificates must be placed in the **/opt/spectro/ssl** folder. Include the following files: | ||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- **server.crt** | ||
- **server.key** | ||
|
||
You also need to update the permissions for the **/data/secret/cert/** directory. This folder is mounted to Harbor | ||
during the airgap setup process and must have access to the custom SSL certificates. Use the following command to | ||
ensure the permissions are set correctly. | ||
|
||
```shell | ||
chown -R 10000:10000 /data/secret/cert/* | ||
``` | ||
|
||
20. Start the airgap initialization process by issuing the following command. The script requires the hostname or IP | ||
address of the airgap support VM. Choose the preferred method for your environment. Be aware that the script will | ||
generate a self-signed certificate for the value you provide. | ||
|
This file contains 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 | ||||
---|---|---|---|---|---|---|
|
@@ -238,23 +238,42 @@ If you are working in Vim, press `i` to enter insert mode in the text editor. Pr | |||||
``` | ||||||
|
||||||
19. If you have custom SSL certificates you want to apply to the image and pack registry, and the Spectro Cloud | ||||||
Repository, copy the custom SSL certificates, in base64 PEM format, to the airgap support VM. The custom | ||||||
certificates must be placed in the **/opt/spectro/ssl** folder. Include the following files: | ||||||
|
||||||
- **server.crt** | ||||||
- **server.key** | ||||||
Repository, copy the custom SSL certificates, in base64 PEM format, to the airgap support VM. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
maybe? :) |
||||||
|
||||||
If you do not provide a custom SSL certificate, the airgap setup process will generate a self-signed certificate for | ||||||
you. | ||||||
|
||||||
:::warning | ||||||
|
||||||
The custom SSL certificates must be in base64 PEM format. If you have custom SSL certificates in a different format, | ||||||
convert them to base64 PEM format before copying them to the support VM. The airgap setup process also expects the | ||||||
files to be named **server.crt** and **server.key**. | ||||||
Three items you need to keep in mind when providing custom SSL certificates: | ||||||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
- The custom SSL certificates must be in base64 PEM format. If you have custom SSL certificates in a different | ||||||
format, convert them to base64 PEM format before copying them to the support VM. The airgap setup process also | ||||||
expects the certificate files to be named **server.crt** and **server.key**. | ||||||
|
||||||
- The custom certificate's Fully Qualified Domain Name (FQDN) must match the hostname or IP address you provide for | ||||||
the airgap support VM. Otherwise, the airgap setup process will fail due to a certificate mismatch. | ||||||
|
||||||
- The custom SSL certificates files must have the following permissions bits set: | ||||||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
- **server.crt**: 644 | ||||||
- **server.key**: 600 | ||||||
|
||||||
::: | ||||||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
The custom certificates must be placed in the **/opt/spectro/ssl** folder. Include the following files: | ||||||
karl-cardenas-coding marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
- **server.crt** | ||||||
- **server.key** | ||||||
|
||||||
You also need to update the permissions for the **/data/secret/cert/** directory. This folder is mounted to Harbor | ||||||
during the airgap setup process and must have access to the custom SSL certificates. Use the following command to | ||||||
ensure the permissions are set correctly. | ||||||
|
||||||
```shell | ||||||
chown -R 10000:10000 /data/secret/cert/* | ||||||
``` | ||||||
|
||||||
20. Start the airgap initialization process by issuing the following command. The script requires the hostname or IP | ||||||
address of the airgap support VM. Choose the preferred method for your environment. Be aware that the script will | ||||||
generate a self-signed certificate for the value you provide. | ||||||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe? :)