You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
379 B
15 lines
379 B
--- |
|
|
|
# create self-signed certificates |
|
|
|
- name: "Create private key (RSA, 4096 bits)" |
|
community.crypto.openssl_privatekey: |
|
path: /etc/ssl/privatekey.pem |
|
become: true |
|
|
|
- name: "Create simple self-signed certificate" |
|
community.crypto.x509_certificate: |
|
path: /etc/ssl/selfsigned.pem |
|
privatekey_path: /etc/ssl/privatekey.pem |
|
provider: selfsigned |
|
become: true
|
|
|