Skip to content

Conversation

@remotesynth
Copy link
Collaborator

This builds upon this commit #388 to further document this configuration variable.

Completes doc-9

This builds upon this commit #388 to further document this configuration variable.

Completes [doc-9](https://linear.app/localstack/issue/DOC-9/document-ssl-no-verify-flag)
@cloudflare-workers-and-pages
Copy link

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d76e74b
Status: ✅  Deploy successful!
Preview URL: https://fc95965a.localstack-docs.pages.dev
Branch Preview URL: https://tls-ssl-no-verify.localstack-docs.pages.dev

View logs

@quetzalliwrites
Copy link
Collaborator

If you approve @simonrw, we'll merge it!

Copy link
Contributor

@simonrw simonrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits but looks good, thanks!


## Disabling TLS verification for LocalStack Cloud

If your proxy intercepts traffic to LocalStack cloud services (e.g., license server, localhost.localstack.cloud), you can disable TLS verification for these specific requests using the `SSL_NO_VERIFY` [configuration variable](/aws/capabilities/config/configuration#security).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: localhost.localstack.cloud is not one of our cloud services. The two requests we make are to the license server, and to fetch our TLS certificate so that we can serve a trusted certificate for localhost.localstack.cloud.

If your proxy intercepts traffic to LocalStack cloud services (e.g., license server, localhost.localstack.cloud), you can disable TLS verification for these specific requests using the `SSL_NO_VERIFY` [configuration variable](/aws/capabilities/config/configuration#security).

```bash
SSL_NO_VERIFY=1 localstack start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: don't we have a thing where our envars need to be prefixed with LOCALSTACK_?

```

:::caution
This approach disables certificate verification rather than trusting your proxy's certificate.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: good worth putting in here that disabling TLS verification should be a last resort 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants