aboutsummaryrefslogtreecommitdiff
path: root/local/bin/usbkey
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/usbkey')
-rwxr-xr-xlocal/bin/usbkey4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/bin/usbkey b/local/bin/usbkey
index bab47df..7e89dea 100755
--- a/local/bin/usbkey
+++ b/local/bin/usbkey
@@ -153,7 +153,7 @@ op_openvpn_get() {
fi
mkdir "openvpn-$NAME"
cp "$MOUNT_PATH/openvpn/$NAME.key" "openvpn-$NAME/"
- cp "$MOUNT_PATH/openvpn/$NAME.crl" "openvpn-$NAME/"
+ cp "$MOUNT_PATH/openvpn/$NAME.crt" "openvpn-$NAME/"
cp "$MOUNT_PATH/openvpn/ca.crt" "openvpn-$NAME/"
cp "$MOUNT_PATH/openvpn/ta.key" "openvpn-$NAME/"
@@ -170,7 +170,7 @@ op_openvpn_generate() {
(
cd "$MOUNT_PATH/openvpn"
# Build request
- openssl req -batch -days 3650 -nodes -new -config "openssl.cnf" \
+ openssl req -days 3650 -nodes -new -config "openssl.cnf" \
-keyout "$NAME.key" -out "$NAME.csr"
# Sign request
openssl ca -days 3650 -config "openssl.cnf" \