Shortened ssl test keys to 1024 to make tests faster
Fixed memory error in SSL code
This commit is contained in:
parent
6a64cf5ff1
commit
d874a696f7
2 changed files with 77 additions and 53 deletions
|
|
@ -19,7 +19,7 @@ default_crl_days = 9999
|
|||
default_md = md5
|
||||
|
||||
[ req ]
|
||||
default_bits = 2048
|
||||
default_bits = 1024
|
||||
days = 1
|
||||
distinguished_name = req_distinguished_name
|
||||
attributes = req_attributes
|
||||
|
|
@ -58,7 +58,7 @@ subjectAltName = DNS:clicon.org
|
|||
EOF
|
||||
|
||||
# Generate server key
|
||||
openssl genrsa -out $srvkey 2048
|
||||
openssl genrsa -out $srvkey 1024
|
||||
|
||||
# Generate CSR (signing request)
|
||||
openssl req -new -config $dir/srv.cnf -key $srvkey -out $certdir/srv_csr.pem
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue