Class: Ansible::Ruby::Modules::Openssl_certificate

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb

Overview

This module allows one to (re)generate OpenSSL certificates. It implements a notion of provider (ie. C(selfsigned), C(ownca), C(acme), C(assertonly)) for your certificate. The ‘assertonly’ provider is intended for use cases where one is only interested in checking properties of a supplied certificate. The ‘ownca’ provider is intended for generate OpenSSL certificate signed with your own CA (Certificate Authority) certificate (self-signed certificate). Many properties that can be specified in this module are for validation of an existing or newly generated certificate. The proper place to specify them, if you want to receive a certificate with these properties is a CSR (Certificate Signing Request). It uses the pyOpenSSL python library to interact with OpenSSL.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#acme_accountkey_pathString?



78
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 78

attribute :acme_accountkey_path

#acme_chainBoolean?



86
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 86

attribute :acme_chain

#acme_challenge_pathString?



82
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 82

attribute :acme_challenge_path

#csr_pathString?



28
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 28

attribute :csr_path

#extended_key_usageArray<String>, ...



141
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 141

attribute :extended_key_usage

#extended_key_usage_strictSymbol?



145
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 145

attribute :extended_key_usage_strict

#forceSymbol?



24
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 24

attribute :force

#has_expiredSymbol?



109
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 109

attribute :has_expired

#invalid_atObject?



120
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 120

attribute :invalid_at

#issuerHash?



94
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 94

attribute :issuer

#issuer_strictSymbol?



98
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 98

attribute :issuer_strict

#key_usageArray<String>, ...



133
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 133

attribute :key_usage

#key_usage_strictSymbol?



137
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 137

attribute :key_usage_strict

#not_afterObject?



126
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 126

attribute :not_after

#not_beforeObject?



123
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 123

attribute :not_before

#ownca_digestString?



64
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 64

attribute :ownca_digest

#ownca_not_afterObject?



75
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 75

attribute :ownca_not_after

#ownca_not_beforeObject?



72
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 72

attribute :ownca_not_before

#ownca_pathString?



53
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 53

attribute :ownca_path

#ownca_privatekey_passphraseObject?



61
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 61

attribute :ownca_privatekey_passphrase

#ownca_privatekey_pathString?



57
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 57

attribute :ownca_privatekey_path

#ownca_versionInteger?



68
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 68

attribute :ownca_version

#pathString



16
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 16

attribute :path

#privatekey_passphraseObject?



36
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 36

attribute :privatekey_passphrase

#privatekey_pathString?



32
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 32

attribute :privatekey_path

#provider:selfsigned, ...



20
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 20

attribute :provider

#selfsigned_digestString?



43
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 43

attribute :selfsigned_digest

#selfsigned_not_afterObject?



50
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 50

attribute :selfsigned_not_after

#selfsigned_not_beforeObject?



47
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 47

attribute :selfsigned_not_before

#selfsigned_versionInteger?



39
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 39

attribute :selfsigned_version

#signature_algorithmsArray<String>, ...



90
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 90

attribute :signature_algorithms

#state:present, ...



12
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 12

attribute :state

#subjectObject?



102
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 102

attribute :subject

#subject_alt_nameArray<String>, ...



149
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 149

attribute :subject_alt_name

#subject_alt_name_strictSymbol?



153
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 153

attribute :subject_alt_name_strict

#subject_strictSymbol?



105
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 105

attribute :subject_strict

#valid_atString?



116
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 116

attribute :valid_at

#valid_inInteger?



129
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 129

attribute :valid_in

#versionObject?



113
# File 'lib/ansible/ruby/modules/generated/crypto/openssl_certificate.rb', line 113

attribute :version