Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions src/content/docs/aws/getting-started/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ import { Tabs, TabItem } from '@astrojs/starlight/components';
To resolve the issue follow the steps:

1. **Update to the latest LocalStack version:** To resolve the SSL issues due to revoked certificate, we strongly recommend updating to the latest LocalStack version (v3.7.0 and above)for the most reliable and seamless experience.
2. **Clear the cached certificate:** Its important to clear the cached certificate if you continue to experience the issue when updating to the latest LS version.
2. **Clear the cached certificate:** It's important to clear the cached certificate if you continue to experience the issue when updating to the latest LS version.
This can be done by deleting the cached certificate file.
For example, on Linux systems, you can locate and remove the file at `~/.cache/localstack/volume/cache/server.test.pem`.
The exact path may differ depending on your operating system and how youve started LocalStack.
The exact path may differ depending on your operating system and how you've started LocalStack.
Please refer to our [documentation](/aws/capabilities/config/filesystem/#localstack-volume-directory) for specific instructions.

**Workarounds for older (<v3.7.0) LocalStack versions:**

1. **Disable Certificate Download**: To prevent downloading a revoked certificate, set the environment variable `SKIP_SSL_CERT_DOWNLOAD=1`.
This will cause LocalStack to use a self-signed SSL certificate.
Additionally, its important to clear the cached certificate from your host machine as mentioned above.
Additionally, it's important to clear the cached certificate from your host machine as mentioned above.
2. **Use HTTP Instead of HTTPS**: Where possible, use `http://` instead of `https://` to avoid issues related to the revoked certificates.
This workaround works with most browsers.
However, Safari requires additional steps:
2.1. **Safari Users**: To make this work, youll need to first navigate to the page in a new tab and accept the security warning.
2.1. **Safari Users**: To make this work, you'll need to first navigate to the page in a new tab and accept the security warning.
To do this, make sure that LocalStack is started with `SKIP_SSL_CERT_DOWNLOAD=1` and that you have cleared the cached certificate as mentioned above.
Once youve accepted the warning, you should be able to proceed.
Once you've accepted the warning, you should be able to proceed.

### How to update my LocalStack CLI?

Expand Down Expand Up @@ -256,6 +256,27 @@ volumes:

For more details visit [Docker WSL documentation](https://docs.docker.com/desktop/wsl), [Docker WSL best practices](https://docs.docker.com/desktop/wsl/best-practices) and [Docker Volumes documentation](https://docs.docker.com/storage/volumes/).

### Why does LocalStack fail to start with "enhanced container isolation: Docker socket mount denied"?

This error occurs when Docker Desktop's [Enhanced Container Isolation](https://docs.docker.com/desktop/hardened-desktop/enhanced-container-isolation/) (ECI) feature is enabled, typically on Docker Business accounts, and LocalStack has not been added to the Docker socket mount allowlist.

To fix this, ask your Docker Desktop administrator to add `localstack/localstack` and `localstack/localstack-pro` to the allowlist in your organisation's Settings Management policy. See [Docker Desktop Enhanced Container Isolation](/aws/capabilities/config/docker-desktop-eci/) for the full administrator configuration.

``` json
{
"enhancedContainerIsolation": {
"dockerSocketMount": {
"imageList": {
"images": [
"docker.io/localstack/localstack-pro:**",
"docker.io/localstack/localstack:**"
],
"allowDerivedImages": true
}
}
}
}
```
## LocalStack Platform FAQs

### Where can I check the status of LocalStack's services?
Expand Down Expand Up @@ -358,4 +379,4 @@ This change requires you to explicitly grant the LocalStack Web Application perm
5. Change the setting to **Allow**.
6. Refresh the Web App page.

This resolves the issue by allowing the public-facing Web Application to access your LocalStack instance running on your local machine.
This resolves the issue by allowing the public-facing Web Application to access your LocalStack instance running on your local machine.