Mbonea commited on
Commit
e38c330
1 Parent(s): 6b67f24

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 --req-cn=YourServerName build-ca nopass && \
18
  ./easyrsa --batch gen-dh && \
19
- ./easyrsa --batch --req-cn=YourServerName build-server-full server nopass && \
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