From 5526fcac27d901fce7a1627f973f65041a7f6334 Mon Sep 17 00:00:00 2001 From: Kloppi313 <36038231+Kloppi313@users.noreply.github.com> Date: Tue, 8 Aug 2023 13:40:24 +0200 Subject: [PATCH] Update openssl_privatekey.py (#644) added example for ECC --- plugins/modules/openssl_privatekey.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/modules/openssl_privatekey.py b/plugins/modules/openssl_privatekey.py index e0117f065..a55395d3f 100644 --- a/plugins/modules/openssl_privatekey.py +++ b/plugins/modules/openssl_privatekey.py @@ -106,6 +106,12 @@ community.crypto.openssl_privatekey: path: /etc/ssl/private/ansible.com.pem type: DSA + +- name: Generate an OpenSSL private key with elliptic curve cryptography (ECC) + community.crypto.openssl_privatekey: + path: /etc/ssl/private/ansible.com.pem + type: ECC + curve: secp256r1 ''' RETURN = r'''