Commit 80ffed79 authored by Tommy Lau's avatar Tommy Lau

Add new line after _EOF_

parent f4091537
...@@ -39,9 +39,10 @@ signing_key ...@@ -39,9 +39,10 @@ signing_key
cert_signing_key cert_signing_key
crl_signing_key crl_signing_key
_EOF_ _EOF_
certtool --generate-self-signed --load-privkey ca-key.pem --template ca.tmpl --outfile ca-cert.pem certtool --generate-self-signed --load-privkey ca-key.pem --template ca.tmpl --outfile ca-cert.pem
certtool --generate-privkey --outfile server-key.pem certtool --generate-privkey --outfile server-key.pem
cat << _EOF_ >server.tmpl cat << _EOF_ > server.tmpl
cn = "$SRV_CN" cn = "$SRV_CN"
organization = "$SRV_ORG" organization = "$SRV_ORG"
expiration_days = $SRV_DAYS expiration_days = $SRV_DAYS
...@@ -49,6 +50,7 @@ signing_key ...@@ -49,6 +50,7 @@ signing_key
encryption_key #only if the generated key is an RSA one encryption_key #only if the generated key is an RSA one
tls_www_server tls_www_server
_EOF_ _EOF_
certtool --generate-certificate --load-privkey server-key.pem --load-ca-certificate ca-cert.pem --load-ca-privkey ca-key.pem --template server.tmpl --outfile server-cert.pem certtool --generate-certificate --load-privkey server-key.pem --load-ca-certificate ca-cert.pem --load-ca-privkey ca-key.pem --template server.tmpl --outfile server-cert.pem
# Create a test user # Create a test user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment