Skip to content

Commit f944d22

Browse files
philippkahrmdbirnstiehlvigneshshanmugam
authored
Synthetics: Not sure if best place for it (elastic#1597)
We should document the work around to ignore certificates. We should also add a part about how to install the cert properly into the NodeJS container, but I don't know about it. --------- Co-authored-by: Mike Birnstiehl <[email protected]> Co-authored-by: Vignesh Shanmugam <[email protected]>
1 parent 9de4f73 commit f944d22

File tree

1 file changed

+5
-1
lines changed
  • solutions/observability/synthetics

1 file changed

+5
-1
lines changed

solutions/observability/synthetics/cli.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,4 +290,8 @@ npx @elastic/synthetics totp <secret> --issuer <issuer> --label <label>
290290
: Name of the provider or service that is assocaited with the account.
291291

292292
`--label <string>`
293-
: Identifier for the account. Defaults to `SyntheticsTOTP`
293+
: Identifier for the account. Defaults to `SyntheticsTOTP`
294+
295+
## Air-gapped environments
296+
297+
When working in air-gapped environments, setup can become complex and require workarounds. One common issue is Node.js installations or containers not trusting custom certificates. To bypass certificate errors, prefix `npx` related commands with `NODE_TLS_REJECT_UNAUTHORIZED=0`. For example, `NODE_TLS_REJECT_UNAUTHORIZED=0 npx @elastic/synthetics init project-name`. This allows the command to bypass the certificate validations for all TLS connections.

0 commit comments

Comments
 (0)