Permalink
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...
1 parent 8bb26c1 commit 965206ffddf9d091da9eba65b5dd02195eb72b6a @mcarpent mcarpent committed Jul 17, 2012
@@ -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
@@ -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

0 comments on commit 965206f

Please sign in to comment.