-echo 'organization = tlsproxy' > $tempfile
-echo 'cn = invalid' >> $tempfile
-echo tls_www_server >> $tempfile
-echo encryption_key >> $tempfile
-echo signing_key >> $tempfile
+echo 'organization = tlsproxy' > "$tempfile"
+echo 'cn = invalid' >> "$tempfile"
+echo tls_www_server >> "$tempfile"
+echo encryption_key >> "$tempfile"
+echo signing_key >> "$tempfile"
+echo 'expiration_days = 3650' >> "$tempfile"