Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,9 +14,9 @@ RUN mkdir -p /etc/openvpn/pki && \
|
|
14 |
cp -r /usr/share/easy-rsa/* /etc/openvpn/pki && \
|
15 |
cd /etc/openvpn/pki && \
|
16 |
./easyrsa init-pki && \
|
17 |
-
./easyrsa --batch
|
18 |
./easyrsa --batch gen-dh && \
|
19 |
-
./easyrsa --batch
|
20 |
openvpn --genkey secret ta.key
|
21 |
|
22 |
# Expose port 1194 for OpenVPN
|
|
|
14 |
cp -r /usr/share/easy-rsa/* /etc/openvpn/pki && \
|
15 |
cd /etc/openvpn/pki && \
|
16 |
./easyrsa init-pki && \
|
17 |
+
./easyrsa --batch build-ca nopass && \
|
18 |
./easyrsa --batch gen-dh && \
|
19 |
+
./easyrsa --batch build-server-full server nopass && \
|
20 |
openvpn --genkey secret ta.key
|
21 |
|
22 |
# Expose port 1194 for OpenVPN
|