+# Prevent accidental overwrites.
+if test x"$1" != 'x--force'; then
+ for x in proxy-ca-key.pem proxy-ca.pem \
+ proxy-key.pem proxy-invalid.pem proxy-dh.pem; do
+ if test -f "$x"; then
+ echo "File '$x' already exists. Use --force to overwrite." >&2
+ exit 2
+ fi
+ done
+fi
+
+