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

Undocumented CloudFront ViewerCertificate Property: MinimumProtocolVersion #218

Open
benbridts opened this issue Mar 31, 2015 · 3 comments
Open

Comments

@benbridts
Copy link
Contributor

@benbridts benbridts commented Mar 31, 2015

I had the same problem as described here: when building a cloudfront distribution with a custom ssl-certificate, you get the error:

The parameter ViewerCertificate the specified distribution is configured for SNI and the Minimum SSL Protocol Version is specified as SSLv3. You cannot specify both.

As described in that post, editing the template, so the ViewerCertificate block looks like

ViewerCertificate: {
    IamCertificateId: 'abc1234',
    SslSupportMethod: 'sni-only',
    MinimumProtocolVersion: 'TLSv1'
}

fixes this problem.

I know this is not the fault of troposphere, but is it possible to add 'MinimumProtocolVersion': (basestring, False) to the ViewerCertificate props, while we wait on AWS to update their documentation?

@markpeek markpeek closed this in 50f7d24 Mar 31, 2015
@markpeek
Copy link
Member

@markpeek markpeek commented Mar 31, 2015

Thanks for pointing it out. I pushed an interim fix and we'll see what happens when the CloudFormation team catches up with it.

@faermanj
Copy link

@faermanj faermanj commented Apr 30, 2016

Was this added to the docs? could not find it... if someone searching hits this, i've found the values here:
http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.CloudFront.Enum.SSLSupportMethod.html

@markpeek markpeek reopened this Apr 30, 2016
@spotnuru
Copy link

@spotnuru spotnuru commented Mar 30, 2018

is it mandatory to upload certificate to "/cloudfront" path? what is the change to be made in this block if i use default path that is root "/".

ViewerCertificate: {
IamCertificateId: 'abc1234',
SslSupportMethod: 'sni-only',
MinimumProtocolVersion: 'TLSv1'
}
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.