-
Notifications
You must be signed in to change notification settings - Fork 64
RHDHBUGS-2260: trust corporate-issued certificate #2211
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
Open
deerskindoll
wants to merge
14
commits into
redhat-developer:main
Choose a base branch
from
deerskindoll:RHDHBUGS-2260
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4b168a9
draft
deerskindoll aa21a17
draft
deerskindoll 7eff862
draft
deerskindoll 5b40e1d
RHDHBUGS-2260
deerskindoll ac98b94
RHDHBUGS-2260
deerskindoll 736ea0e
RHDHBUGS-2260
deerskindoll e5fbe15
RHDHBUGS-2260
deerskindoll 783eeab
RHDHBUGS-2260
deerskindoll 76900e8
RHDHBUGS-2260
deerskindoll 7705d95
RHDHBUGS-2260
deerskindoll 89c828d
RHDHBUGS-2260
deerskindoll 53fc076
RHDHBUGS-2260
deerskindoll 8285bdc
RHDHBUGS-2260
deerskindoll 4b2611b
RHDHBUGS-2260
deerskindoll 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
19 changes: 19 additions & 0 deletions
19
...-rhdh/assembly-configure-trust-for-corporate-certificate-authority-in-rhdh.adoc
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,19 @@ | ||
| :_mod-docs-content-type: ASSEMBLY | ||
| ifdef::context[:parent-context: {context}] | ||
|
|
||
| [id="configure-trust-for-corporate-certificate-authority-in-rhdh_{context}"] | ||
| = Configure trust for corporate Certificate Authority in {product} | ||
|
|
||
| :previouscontext: {context} | ||
| :context: configure-trust-for-corporate-ca-in-rhdh | ||
|
|
||
| [role="_abstract"] | ||
| Set up trust for certificates issued by corporate Certificate Authority (CA) in your {product} deployment. | ||
|
|
||
| include::../modules/configure_configuring-rhdh/proc-configure-trust-for-corporate-certificate-authority-with-node-extra-ca-certs.adoc[leveloffset=+1] | ||
|
|
||
| :context: {previouscontext} | ||
| :!previouscontext: | ||
|
|
||
| ifdef::parent-context[:context: {parent-context}] | ||
| ifndef::parent-context[:!context:] |
18 changes: 0 additions & 18 deletions
18
...figuring-dynamic-plugins/assembly-enable-and-configure-the-keycloak-plugin.adoc
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...mblies/observability_monitoring-and-logging/assembly-rhbk-metrics-for-rhdh.adoc
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,14 @@ | ||
| :_mod-docs-content-type: ASSEMBLY | ||
| ifdef::context[:parent-context: {context}] | ||
|
|
||
| [id="rhbk-metrics-for-rhdh_{context}"] | ||
| = {rhbk-brand-name} metrics for {product} | ||
| :context: rhbk-metrics-for-rhdh | ||
|
|
||
| [role="_abstract"] | ||
| Use {rhbk-brand-name} ({rhbk}) metrics to troubleshoot authentication issues. | ||
|
|
||
| include::../modules/shared/ref-rhbk-metrics.adoc[leveloffset=+1] | ||
|
|
||
| ifdef::parent-context[:context: {parent-context}] | ||
| ifndef::parent-context[:!context:] |
42 changes: 42 additions & 0 deletions
42
...nfigure-trust-for-corporate-certificate-authority-with-node-extra-ca-certs.adoc
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,42 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
|
|
||
| [id="configure-trust-for-corporate-certificate-authority-with-node-extra-ca-certs_{context}"] | ||
| = Configure trust for corporate Certificate Authority with `NODE_EXTRA_CA_CERTS` | ||
|
|
||
| [role="_abstract"] | ||
| The best practice for configuring {product-very-short} to trust a certificate issued by your corporate Certificate Authority (CA) is | ||
| to use the `NODE_EXTRA_CA_CERTS` environmental variable. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| The steps | ||
| to set up {product-very-short} to trust a CA may vary | ||
| depending on how your specific {product-very-short} deployment is configured. | ||
| The following instructions capture only the general outline of the procedure. | ||
| ==== | ||
|
|
||
| .Prerequisites | ||
| * You have access to the public root or intermediate certificate of the CA you wish to trust. | ||
|
|
||
| .Procedure | ||
| . Export the corporate CA certificate chain (root and intermediate certificates) from its source. | ||
| . Convert the certificate or the entire certificate chain to `.pem` format. | ||
| + | ||
| [IMPORTANT] | ||
| ==== | ||
| The maximum of file paths in `.pem` format supported by `NODE_EXTRA_CA_CERTS` is *one*. | ||
| You cannot concatenate multiple file paths as values of the environment variable. | ||
|
|
||
| If you want to inject multiple CAs or certificate chains into your `.pem` file, | ||
| you must first convert them into `.pem` format and then concatenate them into a single file. | ||
| ==== | ||
| . Create a secret containing the CA. | ||
| . Mount the secret into {product-very-short} environment. | ||
| . Set the `NODE_EXTRA_CA_CERTS` to point to the mount path of the secret. | ||
| + | ||
| [IMPORTANT] | ||
| ==== | ||
| You can only use the file path of the CA as a mount path. | ||
| Setting the CA directly as an environmental value is not supported. | ||
| ==== | ||
|
|
||
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...s/shared/ref-keycloak-plugin-metrics.adoc → modules/shared/ref-rhbk-metrics.adoc
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
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
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
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
Oops, something went wrong.
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.
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.
I would be more explicit on how to set the env variable, as you did for the secret.
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.
Configmap? I'm sorry, I'm not sure what you mean. I didn't mention configmap anywhere (I think)?