Commit cf282055 authored by nimrod's avatar nimrod
Browse files

In most OpenSSL versions (1.0.2 or earlier), SHA256 is NOT an available hashing

algorithm (according to the documentation) and OpenSSL ignores the field and
uses the default, which is MD5. Setting the default hash to SHA1.
parent ef3f1cba
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ dir = $PWD
certs = \$dir/certs
certificate = \$dir/CA.crt
private_key = \$dir/CA.key
default_md = sha256
default_md = sha1
default_days = 365
email_in_dn = no
RANDFILE = /dev/urandom
@@ -22,7 +22,7 @@ database = /dev/null
distinguished_name = req_distinguished_name
prompt = no
encrypt_key = no
default_md = sha256
default_md = sha1
default_bits = 2048
RANDFILE = /dev/urandom