Browse Source

Add ccd config for test, change Jenkinsfile, change client.conf

Jenkins 7 years ago
parent
commit
d573ae00a1
3 changed files with 5 additions and 4 deletions
  1. 2 2
      Jenkinsfile
  2. 1 0
      openvpn/ccd/test
  3. 2 2
      openvpn/client.conf

+ 2 - 2
Jenkinsfile

@@ -38,8 +38,8 @@ pipeline {
           sh '''cp ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/ca.crt \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/server.crt \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/server.key \
-                ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/sds-client.crt \
-                ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/sds-client.key \
+                ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/sds-test.crt \
+                ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/sds-test.key \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/ta.key \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/stonevpn.crl \
                 ${WORKSPACE}/openvpn-pki/open/easy-rsa/keys/dh2048.pem \

+ 1 - 0
openvpn/ccd/test

@@ -0,0 +1 @@
+ifconfig-push 10.10.20.95 255.255.255.0

+ 2 - 2
openvpn/client.conf

@@ -7,8 +7,8 @@ mssfix 1300
 client
 tls-client
 ca /etc/openvpn/keys/ca.crt
-cert /etc/openvpn/keys/sds-client.crt
-key /etc/openvpn/keys/sds-client.key
+cert /etc/openvpn/keys/sds-test.crt
+key /etc/openvpn/keys/sds-test.key
 tls-auth /etc/openvpn/keys/ta.key 1
 comp-lzo
 ping 10