Class: Ansible::Ruby::Modules::Certificate_complete_chain
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Certificate_complete_chain
- Defined in:
- lib/ansible/ruby/modules/generated/crypto/certificate_complete_chain.rb
Overview
This module completes a given chain of certificates in PEM format by finding intermediate certificates from a given set of certificates, until it finds a root certificate in another given set of certificates. This can for example be used to find the root certificate for a certificate chain returned by M(acme_certificate). Note that this module does I(not) check for validity of the chains. It only checks that issuer and subject match, and that the signature is correct. It ignores validity dates and key usage completely. If you need to verify that a generated chain is valid, please use C(openssl verify …).
Instance Method Summary collapse
-
#input_chain ⇒ String
A concatenated set of certificates in PEM format forming a chain.,The module will try to complete this chain.
-
#intermediate_certificates ⇒ Array<String>, ...
A list of filenames or directories.,A filename is assumed to point to a file containing one or more certificates in PEM format.
-
#root_certificates ⇒ Array<String>, String
A list of filenames or directories.,A filename is assumed to point to a file containing one or more certificates in PEM format.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#input_chain ⇒ String
Returns A concatenated set of certificates in PEM format forming a chain.,The module will try to complete this chain.
14 |
# File 'lib/ansible/ruby/modules/generated/crypto/certificate_complete_chain.rb', line 14 attribute :input_chain |
#intermediate_certificates ⇒ Array<String>, ...
Returns A list of filenames or directories.,A filename is assumed to point to a file containing one or more certificates in PEM format. All certificates in this file will be added to the set of root certificates.,If a directory name is given, all files in the directory and its subdirectories will be scanned and tried to be parsed as concatenated certificates in PEM format.,Symbolic links will be followed.
22 |
# File 'lib/ansible/ruby/modules/generated/crypto/certificate_complete_chain.rb', line 22 attribute :intermediate_certificates |
#root_certificates ⇒ Array<String>, String
Returns A list of filenames or directories.,A filename is assumed to point to a file containing one or more certificates in PEM format. All certificates in this file will be added to the set of root certificates.,If a directory name is given, all files in the directory and its subdirectories will be scanned and tried to be parsed as concatenated certificates in PEM format.,Symbolic links will be followed.
18 |
# File 'lib/ansible/ruby/modules/generated/crypto/certificate_complete_chain.rb', line 18 attribute :root_certificates |