JGoutin / ansible_home

A collection of Ansible roles for home free software self-hosting.
https://galaxy.ansible.com/jgoutin/home
GNU General Public License v3.0
31 stars 6 forks source link

ECDSA TLS self signed keys instead of RSA #55

Closed JGoutin closed 1 year ago

JGoutin commented 1 year ago

Generates ECDSA 256 keys instead of RSA

openssl req -new -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -x509 -nodes -days 3650 -out {{ tls_crt }} -keyout {{ tls_key }} -subj '/CN={{ tls_domain }}'