Skip to content
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

[question] Is there a way to disable CloudFront older TLS protocols without a custom domain/certificate ? #35

Open
rodrigojv opened this issue Jan 20, 2025 · 0 comments

Comments

@rodrigojv
Copy link

I have tried using minimumProtocolVersion but it doesn't seem to work.

const site = new StaticSite(stack, `ReactSite`, {
    buildCommand: "pnpm run build:app",
    buildOutput: "apps/web/dist",
    environment: {
      VITE_API_URL: process.env.VITE_API_URL!
    },

    cdk: {
      distribution: {
        comment: "Custom site CDK distribution",
        minimumProtocolVersion: "TLSv1.2_2021"

My sslscan ouput:

Testing SSL server XXXX.cloudfront.net on port 443 using SNI name XXXX.cloudfront.net

  SSL/TLS Protocols:
SSLv2     disabled
SSLv3     disabled
TLSv1.0   enabled
TLSv1.1   enabled
TLSv1.2   enabled
TLSv1.3   enabled
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

No branches or pull requests

1 participant