PARALLAX

openssl_privatekey_info

Inspect cryptographic information natively on the target

Collection: community.crypto

Full Name: community.crypto.openssl_privatekey_info

Synopsis

Inspect cryptographic information natively on the target

Parameters

NameTypeRequiredDefaultDescription
select_crypto_backendstringautoCompatibility selector: auto or cryptography; execution is native Go
pathstringInput file on the target; mutually exclusive with content
contentstringPEM input text; mutually exclusive with path
passphrasestringPassphrase for an encrypted PEM private key
return_private_key_databoolfalseInclude private mathematical parameters in the result
check_consistencyboolfalseCheck mathematical key consistency

Example

yaml
- name: Inspect cryptographic information
  community.crypto.openssl_privatekey_info:
    path: /etc/ssl/example.pem
  register: crypto_information
Search
    ↑ ↓ move↵ openesc close