Merge "ssl: Add support for a CA Certificate"

This commit is contained in:
Jenkins 2014-05-30 16:50:50 +00:00 committed by Gerrit Code Review
commit 7d89ec86bd
2 changed files with 7 additions and 0 deletions

View File

@ -606,6 +606,7 @@ Resources:
input_values:
ssl_certificate: {Ref: SSLCertificate}
ssl_key: {Ref: SSLKey}
ssl_ca_certificate: {Ref: SSLCACertificate}
controller0Passthrough:
Type: OS::Heat::StructuredDeployment
Properties:

View File

@ -10,6 +10,10 @@ Parameters:
Description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
Type: String
NoEcho: true
SSLCACertificate:
Default: ''
Description: If set, the contents of an SSL certificate authority file.
Type: String
Resources:
SSLConfig:
Type: OS::Heat::StructuredConfig
@ -21,6 +25,8 @@ Resources:
get_input: ssl_certificate
key:
get_input: ssl_key
cacert:
get_input: ssl_ca_certificate
ports:
- name: 'ec2'
accept: 13773