Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding support for chain_file to f5_profileclientssl. This will allow…

… users to supply intermediate certificates.

Signed-off-by: Matthew Carpenter <mcarpent@redhat.com>
  • Loading branch information...
commit 965206ffddf9d091da9eba65b5dd02195eb72b6a 1 parent 8bb26c1
@mcarpent mcarpent authored
View
6 lib/puppet/provider/f5_profileclientssl/f5_profileclientssl.rb
@@ -26,6 +26,7 @@ def self.instances
'ca_file',
'client_certificate_ca_file',
'peer_certification_mode',
+ 'chain_file',
]
methods.each do |method|
@@ -42,6 +43,7 @@ def self.instances
'key_file',
'ca_file',
'client_certificate_ca_file',
+ 'chain_file',
]
methods.each do |method|
@@ -80,6 +82,10 @@ def create
if resource[:peer_certification_mode]
self.peer_certification_mode = resource[:peer_certification_mode]
end
+
+ if resource[:chain_file]
+ self.chain_file = resource[:chain_file]
+ end
end
def destroy
View
4 lib/puppet/type/f5_profileclientssl.rb
@@ -43,4 +43,8 @@
newproperty(:peer_certification_mode) do
desc "The peer certification modes for the specified client SSL profiles."
end
+
+ newproperty(:chain_file) do
+ desc "The certificate chain filenames for the specified client SSL profiles."
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.