Files
floci/mkdocs.yml
T
5befe8b619 feat: optional TLS/HTTPS support with self-signed certificate generation (#754)
* feat: optional TLS/HTTPS support with self-signed certificate generation

- Add TlsConfigSource (MicroProfile ConfigSource SPI) that injects Quarkus
  TLS properties before the HTTP server starts
- Auto-generate self-signed certificates with correct SANs including custom
  hostnames from FLOCI_HOSTNAME and FLOCI_BASE_URL
- Persist certificate metadata for change detection across restarts
- Fix CertificateGenerator to encode IP addresses as iPAddress SANs (RFC 5280)
- Serve HTTP + HTTPS simultaneously (LocalStack parity)
- Support user-provided certificates via FLOCI_TLS_CERT_PATH/KEY_PATH
- Add TLS configuration documentation
- Add Node.js SDK compatibility test for HTTPS connectivity
- Add comprehensive unit and integration tests (79 test cases)

Closes #711

* feat(tls): add TLS proxy server and WebSocket-over-TLS tests

- Add TlsProxyServer: TCP proxy on port 4566 that detects TLS ClientHello
  and routes to HTTPS (4511) or HTTP (4510) backend accordingly
- Add apigatewayv2-websocket-tls.test.ts: WSS compatibility tests covering
  connect/disconnect, route selection, broadcast, authorization,
  @connections API, binary frames, and payload size limits
- Update CI workflow to enable FLOCI_TLS_ENABLED=true for compat tests
- Update sdk-test-node Dockerfile with NODE_TLS_REJECT_UNAUTHORIZED=0
- Update tls.test.ts for HTTPS SDK client tests
- Update README with WebSocket-over-TLS test documentation

* fix(tls): address review comments — LocalStack parity and floci.io SANs

- Add USE_SSL and CUSTOM_SSL_CERT_PATH mappings to localstack-parity.sh
- Add localhost.floci.io and *.localhost.floci.io to default certificate SANs
- Update affected tests and documentation

---------

Co-authored-by: Dixit R Jain <dixitrjain@Mac-379.lan>
Co-authored-by: Dixit R Jain <dixitrjain@Mac.lan>
2026-05-10 10:21:03 -05:00

119 lines
3.5 KiB
YAML

site_name: Floci
site_description: Fast, free, open-source local AWS emulator
site_url: https://floci.io/floci/
repo_url: https://github.com/floci-io/floci
repo_name: floci-io/floci
edit_uri: edit/main/docs/
theme:
name: material
logo: assets/floci.png
favicon: assets/floci.png
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.tabs
- navigation.sections
- navigation.top
- navigation.instant
- search.highlight
- search.suggest
- content.code.copy
- content.code.annotate
- content.tabs.link
extra_css:
- assets/extra.css
plugins:
- search
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.inlinehilite
- tables
- attr_list
nav:
- Home: index.md
- Getting Started:
- Quick Start: getting-started/quick-start.md
- Installation: getting-started/installation.md
- AWS CLI & SDK Setup: getting-started/aws-setup.md
- Migrate from LocalStack: getting-started/migrate-from-localstack.md
- Configuration:
- Docker Images: configuration/docker-images.md
- Docker Compose: configuration/docker-compose.md
- Ports Reference: configuration/ports.md
- application.yml Reference: configuration/application-yml.md
- Storage Modes: configuration/storage.md
- TLS / HTTPS: configuration/tls.md
- Initialization Hooks: configuration/initialization-hooks.md
- Services:
- Overview: services/index.md
- SSM Parameter Store: services/ssm.md
- SQS: services/sqs.md
- SNS: services/sns.md
- SES: services/ses.md
- S3: services/s3.md
- DynamoDB: services/dynamodb.md
- Lambda: services/lambda.md
- API Gateway: services/api-gateway.md
- Cognito: services/cognito.md
- KMS: services/kms.md
- Kinesis: services/kinesis.md
- Secrets Manager: services/secrets-manager.md
- CloudFormation: services/cloudformation.md
- Step Functions: services/step-functions.md
- IAM: services/iam.md
- STS: services/sts.md
- ElastiCache: services/elasticache.md
- RDS: services/rds.md
- MSK (Kafka): services/msk.md
- Glue: services/glue.md
- Athena: services/athena.md
- Data Firehose: services/firehose.md
- EventBridge: services/eventbridge.md
- EventBridge Scheduler: services/scheduler.md
- CloudWatch: services/cloudwatch.md
- ACM: services/acm.md
- ECS: services/ecs.md
- ECR: services/ecr.md
- EKS: services/eks.md
- OpenSearch: services/opensearch.md
- EC2: services/ec2.md
- AppConfig: services/appconfig.md
- Bedrock Runtime: services/bedrock-runtime.md
- ELB v2: services/elb.md
- Auto Scaling: services/autoscaling.md
- CodeBuild: services/codebuild.md
- CodeDeploy: services/codedeploy.md
- AWS Backup: services/backup.md
- Route53: services/route53.md
- Transfer Family: services/transfer.md
- Testcontainers:
- Overview: testcontainers/index.md
- Java: testcontainers/java.md
- Node.js / TypeScript: testcontainers/nodejs.md
- Python: testcontainers/python.md
- Go: testcontainers/go.md
- Contributing: contributing.md