new file mode 100644
@@ -0,0 +1,1570 @@
+From c89b2e3b7fa6c0bc9711b5dda9c8f9d847db78ca Mon Sep 17 00:00:00 2001
+From: Frank Lichtenheld <frank@lichtenheld.com>
+Date: Tue, 21 Nov 2023 12:04:30 +0100
+Subject: [PATCH] sample-keys: renew for the next 10 years
+
+Old expiration was October 2024, less than a year away.
+Give everyone the chance to get the new keys before tests
+start failing.
+
+Change-Id: Ie264ec1ec61fd71e8cc87987be3e2adc2735c201
+Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
+Message-Id: <20231121110430.16893-1-frank@lichtenheld.com>
+URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27530.html
+
+Upstream-Status: Backport
+[https://github.com/OpenVPN/openvpn/commit/78e0c5f2f57a18e8ea60951696a458a4b3ff3621]
+
+Signed-off-by: Gert Doering <gert@greenie.muc.de>
+Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
+---
+ sample/sample-config-files/loopback-client | 313 +++++++++++----------
+ sample/sample-keys/ca.crt | 67 ++---
+ sample/sample-keys/ca.key | 100 +++----
+ sample/sample-keys/client-ec.crt | 129 ++++-----
+ sample/sample-keys/client-ec.key | 6 +-
+ sample/sample-keys/client-pass.key | 60 ++--
+ sample/sample-keys/client.crt | 162 +++++------
+ sample/sample-keys/client.key | 52 ++--
+ sample/sample-keys/dh2048.pem | 12 +-
+ sample/sample-keys/gen-sample-keys.sh | 3 +-
+ sample/sample-keys/server-ec.crt | 132 ++++-----
+ sample/sample-keys/server-ec.key | 6 +-
+ sample/sample-keys/server.crt | 166 +++++------
+ sample/sample-keys/server.key | 52 ++--
+ sample/sample-keys/ta.key | 32 +--
+ 16 files changed, 648 insertions(+), 644 deletions(-)
+
+diff --git a/sample/sample-config-files/loopback-client b/sample/sample-config-files/loopback-client
+index 8ac3d1d7d27a..7965eb6a5c6e 100644
+--- a/sample/sample-config-files/loopback-client
++++ b/sample/sample-config-files/loopback-client
+@@ -24,70 +24,71 @@ remote-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35nv44NybhYMoSTXj+NMHX13QXbytjAoGAdVKw
++3yixWzB6dinjm1Dx5rJfVos024QPWqRUzfe+UPROYUdHBpKB3YgktXNs7KuwRbdV
++dDEZdabIGyV+WpWXwnflpbZ2Rk95k3NcUw5ep0cUJBkiNxhNt58aK/xMs1rd2dsO
++x84RVkwI0oCw9FXOKOeGZOL6TVHR70fMQU86bY8CgYEAqg/1AD9lXzbR57zaR/br
++AIn0WWU2mnU7Dc4uhmQd9+JExqrplKKHrUp8eQEOW8nij6MbPYlpgkMdatvDOJqP
++WrYtwZsKXGhnalvbS3ye20HqpjYpBR7co3Q9KMaaDNoQe9HtjbT80GXpQEbJN2Iu
++ADo3hPoX0yENIbKFccMuptM=
+ -----END PRIVATE KEY-----
+ </key>
+ #cert sample-keys/client.crt
+@@ -96,104 +97,104 @@ Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number: 2 (0x2)
+- Signature Algorithm: sha256WithRSAEncryption
++ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+ Validity
+- Not Before: Oct 22 21:59:53 2014 GMT
+- Not After : Oct 19 21:59:53 2024 GMT
++ Not Before: Nov 7 12:23:39 2023 GMT
++ Not After : Nov 4 12:23:39 2033 GMT
+ Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Client/emailAddress=me@myhost.mydomain
+ Subject Public Key Info:
+ Public Key Algorithm: rsaEncryption
+ Public-Key: (2048 bit)
+ Modulus:
+- 00:ec:65:8f:e9:12:c2:1a:5b:e6:56:2a:08:a9:82:
+- 3a:2d:44:78:a3:00:3b:b0:9f:e7:27:10:40:93:ef:
+- f1:cc:3e:a0:aa:04:a2:80:1b:13:a9:e6:fe:81:d6:
+- 70:90:a8:d8:d4:de:30:d8:35:00:d2:be:62:f0:48:
+- da:fc:15:8d:c4:c6:6d:0b:99:f1:2b:83:00:0a:d3:
+- 2a:23:0b:e5:cd:f9:35:df:43:61:15:72:ad:95:98:
+- f6:73:21:41:5e:a0:dd:47:27:a0:d5:9a:d4:41:a8:
+- 1c:1d:57:20:71:17:8f:f7:28:9e:3e:07:ce:ec:d5:
+- 0e:42:4f:1e:74:47:8e:47:9d:d2:14:28:27:2c:14:
+- 10:f5:d1:96:b5:93:74:84:ef:f9:04:de:8d:4a:6f:
+- df:77:ab:ea:d1:58:d3:44:fe:5a:04:01:ff:06:7a:
+- 97:f7:fd:e3:57:48:e1:f0:df:40:13:9f:66:23:5a:
+- e3:55:54:3d:54:39:ee:00:f9:12:f1:d2:df:74:2e:
+- ba:d7:f0:8d:c6:dd:18:58:1c:93:22:0b:75:fa:a8:
+- d6:e0:b5:2f:2d:b9:d4:fe:b9:4f:86:e2:75:48:16:
+- 60:fb:3f:c9:b4:30:42:29:fb:3b:b3:2b:b9:59:81:
+- 6a:46:f3:45:83:bf:fd:d5:1a:ff:37:0c:6f:5b:fd:
+- 61:f1
++ 00:dd:ae:b2:0a:40:e6:cf:e1:c1:a2:a1:d2:83:2c:
++ 31:98:e2:1b:b2:85:40:67:00:fa:ab:bf:cf:9d:14:
++ d1:c6:b7:63:83:aa:5f:9c:14:a0:d2:4d:04:3a:4a:
++ 92:e6:92:4b:a4:86:40:26:42:bd:83:b7:fc:49:b7:
++ 56:d2:ca:e7:70:85:16:8f:8b:3b:da:47:9e:8b:6a:
++ 4a:c8:e6:a8:de:ae:6b:2d:52:22:0c:9d:cf:67:bb:
++ 7d:1e:66:05:53:8b:7c:ae:ad:d1:a6:52:5f:3d:9e:
++ 6b:28:18:57:d9:a1:42:2d:c0:b0:4d:da:4a:f0:29:
++ aa:02:34:86:02:aa:af:67:09:06:ed:45:21:8e:8c:
++ f8:75:56:c7:ea:e8:4f:88:8e:1c:8b:5b:68:2d:b1:
++ 66:a5:e4:c6:36:e2:70:8d:fe:ef:10:f0:52:f8:53:
++ 96:bf:7e:51:70:f2:3f:ae:58:87:38:d1:a3:6b:f6:
++ 38:51:9b:16:ce:67:35:8e:6d:76:63:4d:6b:9b:7d:
++ 77:da:55:6f:20:b1:66:4f:9a:2d:a4:73:3a:52:21:
++ 86:3c:f3:a6:5a:67:e5:7d:10:f5:36:56:21:7e:03:
++ 22:bd:98:e9:18:b4:3f:b3:b5:0d:ed:d5:ef:54:96:
++ 6f:9d:46:6c:6f:0e:ba:4b:1a:f7:cc:d4:e5:24:ba:
++ d2:a5
+ Exponent: 65537 (0x10001)
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+- D2:B4:36:0F:B1:FC:DD:A5:EA:2A:F7:C7:23:89:FA:E3:FA:7A:44:1D
++ 59:33:B9:2E:63:D1:17:A8:9F:BD:D8:CE:94:21:C5:41:C7:31:62:5D
+ X509v3 Authority Key Identifier:
+- keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B
++ keyid:73:B1:B8:D6:8A:95:6B:12:E0:74:7C:C5:57:55:98:94:5B:AC:78:5E
+ DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+- serial:A1:4E:DE:FA:90:F2:AE:81
+-
++ serial:6F:50:B8:D3:46:6E:72:34:59:BC:00:33:DD:7C:AE:12:EB:27:46:06
+ Signature Algorithm: sha256WithRSAEncryption
+- 7f:e0:fe:84:a7:ec:df:62:a5:cd:3c:c1:e6:42:b1:31:12:f0:
+- b9:da:a7:9e:3f:bd:96:52:b6:fc:55:74:64:3e:e4:ff:7e:aa:
+- f7:3e:06:18:5f:73:85:f8:c8:e0:67:1b:4d:97:ca:05:d0:37:
+- 07:33:64:9b:e6:78:77:14:9a:55:bb:2a:ac:c3:7f:c9:15:08:
+- 83:5c:c8:c2:61:d3:71:4c:05:0b:2b:cb:a3:87:6d:a0:32:ed:
+- b0:b3:27:97:4a:55:8d:01:2a:30:56:68:ab:f2:da:5c:10:73:
+- c9:aa:0a:9c:4b:4c:a0:5b:51:6e:0a:7e:6c:53:80:b0:00:e1:
+- 1e:9a:4c:0a:37:9e:20:89:bc:c5:e5:79:58:b7:45:ff:d3:c4:
+- a1:fd:d9:78:3d:45:16:74:df:82:44:1d:1d:81:50:5a:b9:32:
+- 4c:e2:4f:3f:0e:3a:65:5a:64:83:3b:29:31:c4:99:88:bc:c5:
+- 84:39:f2:19:12:e1:66:d0:ea:fb:75:b1:d2:27:be:91:59:a3:
+- 2b:09:d5:5c:bf:46:8e:d6:67:d6:0b:ec:da:ab:f0:80:19:87:
+- 64:07:a9:77:b1:5e:0c:e2:c5:1d:6a:ac:5d:23:f3:30:75:36:
+- 4e:ca:c3:4e:b0:4d:8c:2c:ce:52:61:63:de:d5:f5:ef:ef:0a:
+- 6b:23:25:26:3c:3a:f2:c3:c2:16:19:3f:a9:32:ba:68:f9:c9:
+- 12:3c:3e:c6:1f:ff:9b:4e:f4:90:b0:63:f5:d1:33:00:30:5a:
+- e8:24:fa:35:44:9b:6a:80:f3:a6:cc:7b:3c:73:5f:50:c4:30:
+- 71:d8:74:90:27:0a:01:4e:a5:5e:b1:f8:da:c2:61:81:11:ae:
+- 29:a3:8f:fa:7e:4c:4e:62:b1:00:de:92:e3:8f:6a:2e:da:d9:
+- 38:5d:6b:7c:0d:e4:01:aa:c8:c6:6d:8b:cd:c0:c8:6e:e4:57:
+- 21:8a:f6:46:30:d9:ad:51:a1:87:96:a6:53:c9:1e:c6:bb:c3:
+- eb:55:fe:8c:d6:5c:d5:c6:f3:ca:b0:60:d2:d4:2a:1f:88:94:
+- d3:4c:1a:da:0c:94:fe:c1:5d:0d:2a:db:99:29:5d:f6:dd:16:
+- c4:c8:4d:74:9e:80:d9:d0:aa:ed:7b:e3:30:e4:47:d8:f5:15:
+- c1:71:b8:c6:fd:ee:fc:9e:b2:5f:b5:b7:92:ed:ff:ca:37:f6:
+- c7:82:b4:54:13:9b:83:cd:87:8b:7e:64:f6:2e:54:3a:22:b1:
+- c5:c1:f4:a5:25:53:9a:4d:a8:0f:e7:35:4b:89:df:19:83:66:
+- 64:d9:db:d1:61:2b:24:1b:1d:44:44:fb:49:30:87:b7:49:23:
+- 08:02:8a:e0:25:f3:f4:43
++ Signature Value:
++ 2a:9e:02:65:f4:3c:c0:37:88:f0:21:f9:fd:2e:7c:f4:8b:bb:
++ 67:7d:f7:48:0c:98:f7:a1:46:4e:33:af:68:77:f4:53:03:09:
++ fd:4e:32:cb:0f:2c:f1:16:37:35:65:aa:68:79:16:a9:32:03:
++ d7:89:10:ef:ba:fd:e1:26:2c:60:7c:3b:42:60:68:47:cf:61:
++ 88:00:77:e7:71:76:49:78:35:52:45:a4:31:7e:2b:e1:0a:c8:
++ ed:e1:a7:28:2f:23:a3:ce:ce:b5:99:6b:54:4d:df:d2:64:0a:
++ b7:c5:25:1e:d4:f7:a1:fd:4f:f3:12:d3:26:5f:3b:b2:93:93:
++ d1:8b:4b:4e:dc:d0:15:63:d1:77:36:75:34:76:37:59:ff:a0:
++ 81:01:ec:b6:42:2f:bd:85:5d:d0:ef:ff:90:61:d6:91:b0:f5:
++ e6:94:66:7e:4c:20:06:c4:2e:0c:9b:9f:7f:89:f0:3e:8f:e5:
++ 06:6c:81:75:a2:0b:c5:ac:44:f1:32:cc:57:90:a0:19:47:8c:
++ 25:7a:d5:f1:61:1f:19:bf:4c:31:da:44:c1:30:91:e8:b5:cc:
++ e4:7e:20:55:0a:b9:dc:f3:5e:f5:7c:d1:0b:ee:71:c6:d6:38:
++ 7e:85:7b:6c:cb:10:85:1e:6a:50:ab:c3:ae:f9:ff:96:4f:a3:
++ 76:d6:fd:c0:f9:c7:9a:60:a8:8c:e5:9a:c5:a9:7b:63:11:ef:
++ 7b:b9:9b:1f:63:51:a8:6d:2b:d6:f7:ef:51:bd:a8:32:9e:92:
++ aa:24:01:c9:e3:6a:c8:94:2e:d2:66:b2:c7:17:e5:06:53:9a:
++ bd:8a:19:8f:3a:51:7a:25:11:e5:e8:59:f7:1b:df:95:98:35:
++ c1:a6:74:15:6b:b1:2c:97:9b:fe:76:7e:56:20:4d:ee:07:8a:
++ b9:8b:bc:92:a9:19:81:28:91:4e:d2:9f:51:99:72:c0:12:76:
++ 5b:c8:74:68:b5:9d:43:53:c1:af:39:b9:28:82:a0:0e:bb:ef:
++ 21:d8:71:dd:02:af:dc:df:48:7b:39:21:7d:83:76:ea:e2:c7:
++ 16:bb:d2:1a:1d:22:f6:4b:47:15:56:41:06:4d:39:1c:96:3f:
++ 25:2d:83:8f:a4:a2:86:fa:0e:e9:45:9c:bf:26:40:e6:3e:9e:
++ d5:00:9f:ce:76:6f:df:cb:b2:85:b8:83:f2:ed:8b:b6:5a:68:
++ b5:c7:1b:ab:19:75:60:f3:5b:e7:5c:70:27:d9:1c:d8:24:f0:
++ 2a:aa:2a:a6:98:77:d6:36:d9:02:35:a8:d3:2c:19:88:b8:0b:
++ d3:76:58:72:54:99:94:9a:ee:38:9b:8d:8e:10:48:cd:28:50:
++ 31:b2:4b:d3:69:7b:91:b4
+ -----BEGIN CERTIFICATE-----
+-MIIFFDCCAvygAwIBAgIBAjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
+-MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t
+-VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYWluMB4XDTE0MTAy
+-MjIxNTk1M1oXDTI0MTAxOTIxNTk1M1owajELMAkGA1UEBhMCS0cxCzAJBgNVBAgT
+-Ak5BMRUwEwYDVQQKEwxPcGVuVlBOLVRFU1QxFDASBgNVBAMTC1Rlc3QtQ2xpZW50
++MIIFHzCCAwegAwIBAgIBAjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
++MAkGA1UECAwCTkExEDAOBgNVBAcMB0JJU0hLRUsxFTATBgNVBAoMDE9wZW5WUE4t
++VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYW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YlFuseF6haqRoMGYxCzAJBgNVBAYTAktH
++MQswCQYDVQQIDAJOQTEQMA4GA1UEBwwHQklTSEtFSzEVMBMGA1UECgwMT3BlblZQ
++Ti1URVNUMSEwHwYJKoZIhvcNAQkBFhJtZUBteWhvc3QubXlkb21haW6CFG9QuNNG
++bnI0WbwAM918rhLrJ0YGMA0GCSqGSIb3DQEBCwUAA4ICAQAqngJl9DzAN4jwIfn9
++Lnz0i7tnffdIDJj3oUZOM69od/RTAwn9TjLLDyzxFjc1ZapoeRapMgPXiRDvuv3h
++JixgfDtCYGhHz2GIAHfncXZJeDVSRaQxfivhCsjt4acoLyOjzs61mWtUTd/SZAq3
++xSUe1Peh/U/zEtMmXzuyk5PRi0tO3NAVY9F3NnU0djdZ/6CBAey2Qi+9hV3Q7/+Q
++YdaRsPXmlGZ+TCAGxC4Mm59/ifA+j+UGbIF1ogvFrETxMsxXkKAZR4wletXxYR8Z
++v0wx2kTBMJHotczkfiBVCrnc8171fNEL7nHG1jh+hXtsyxCFHmpQq8Ou+f+WT6N2
++1v3A+ceaYKiM5ZrFqXtjEe97uZsfY1GobSvW9+9RvagynpKqJAHJ42rIlC7SZrLH
++F+UGU5q9ihmPOlF6JRHl6Fn3G9+VmDXBpnQVa7Esl5v+dn5WIE3uB4q5i7ySqRmB
++KJFO0p9RmXLAEnZbyHRotZ1DU8GvObkogqAOu+8h2HHdAq/c30h7OSF9g3bq4scW
++u9IaHSL2S0cVVkEGTTkclj8lLYOPpKKG+g7pRZy/JkDmPp7VAJ/Odm/fy7KFuIPy
++7Yu2Wmi1xxurGXVg81vnXHAn2RzYJPAqqiqmmHfWNtkCNajTLBmIuAvTdlhyVJmU
++mu44m42OEEjNKFAxskvTaXuRtA==
+ -----END CERTIFICATE-----
+ </cert>
+ #tls-auth sample-keys/ta.key 1
+@@ -203,22 +204,22 @@ key-direction 1
+ # 2048 bit OpenVPN static key
+ #
+ -----BEGIN OpenVPN Static key V1-----
+-a863b1cbdb911ff4ef3360ce135157e7
+-241a465f5045f51cf9a92ebc24da34fd
+-5fc48456778c977e374d55a8a7298aef
+-40d0ab0c60b5e09838510526b73473a0
+-8da46a8c352572dd86d4a871700a915b
+-6aaa58a9dac560db2dfdd7ef15a202e1
+-fca6913d7ee79c678c5798fbf7bd920c
+-caa7a64720908da7254598b052d07f55
+-5e31dc5721932cffbdd8965d04107415
+-46c86823da18b66aab347e4522cc05ff
+-634968889209c96b1024909cd4ce574c
+-f829aa9c17d5df4a66043182ee23635d
+-8cabf5a7ba02345ad94a3aa25a63d55c
+-e13f4ad235a0825e3fe17f9419baff1c
+-e73ad1dd652f1e48c7102fe8ee181e54
+-10a160ae255f63fd01db1f29e6efcb8e
++21d94830510107f8753d3b6f3145e01d
++ed37075115afcb0538ecdd8503ee9663
++7218c9ed38d908d594231d7d143c73da
++5055310f89d336da99c8b3dcb18909c7
++9dd44f540670ebc0f120beb7211e9683
++9cb542572c48bfa7ffaa9a22cb8304b7
++869b92f4442918e598745bb78ac8877f
++02b00a7cdef3f2446c130d39a7c45126
++9ef399fd6029cdfc80a7c604041312ab
++0a969bc906bdee6e6d707afdcbe8c7fb
++97beb66049c3d328340775025433ceba
++1e38008a826cf92443d903106199373b
++dadd9c2c735cf481e580db4e81b99f12
++e3f46b6159c687cd1b9e689f7712573c
++0f02735a45573dfb5cd55cf464942389
++2c7e91f439bdd7337a8ceebd302cfbfa
+ -----END OpenVPN Static key V1-----
+ </tls-auth>
+ cipher AES-256-GCM
+diff --git a/sample/sample-keys/ca.crt b/sample/sample-keys/ca.crt
+index a11bafa76c3a..a088711bd412 100644
+--- a/sample/sample-keys/ca.crt
++++ b/sample/sample-keys/ca.crt
+@@ -1,35 +1,36 @@
+ -----BEGIN CERTIFICATE-----
+-MIIGKDCCBBCgAwIBAgIJAKFO3vqQ8q6BMA0GCSqGSIb3DQEBCwUAMGYxCzAJBgNV
+-BAYTAktHMQswCQYDVQQIEwJOQTEQMA4GA1UEBxMHQklTSEtFSzEVMBMGA1UEChMM
+-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 -----END CERTIFICATE-----
+diff --git a/sample/sample-keys/ca.key b/sample/sample-keys/ca.key
+index 8b11bc225f8f..e92388446b91 100644
+--- a/sample/sample-keys/ca.key
++++ b/sample/sample-keys/ca.key
+@@ -1,52 +1,52 @@
+ -----BEGIN PRIVATE KEY-----
+-MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQCwlU8Kq3e+2gNb
+-ZTQMgjVAiHZCzR2qHzzyeK/EAibYtOr3d718mGyrc/9RVgBhJ4Iit6RfKlHQRCBK
+-Bw1O8YEx7bQGgc7nK9saMo+aN8uPpdGi0I4bLwQOX+EuBFj15+IDzCxV+68Xar8V
+-uXIlA9H+A+IO1OZSKoWpdrsAmYyuoWydamk64Z3tBzppOxp7hMXV7+BRMJOtprs1
+-4ejANoqF3IWYQScJhHkJ5SzHYmUVYAfw8KvEGkdhuYbK9LSQff6tCRpIz8/NzZtL
+-hrIdo5hErlewarxeI0YpNMudJoJ094ewj7fEweYSH67k6DYMUaC/IPbaB17pbZ7O
+-8QoJQOvNHtuydiqrJTKfsvGeQ9cbK9HnZPTobwrMspBGYOU8heHMow7TuqQeYiid
+-dN0XtgjVrPAekC03h1KtR7Vu+OJNKgSxA984DK8PREwr8IF+ARlTMAHnR78iVtnz
+-hzQMl9Qw6bjELJ+3UcVilh7IJ/l3GgiPB4I86g/jbr5pNczuSqrSJ4ivpjGcpXo4
+-YYsoRj5U1mHUNLt6epUc/mLx6KbK5Rg+hCFsr3G0MYyCCGdzoefwGV08xy/P3wd1
+-MQfisF8DfI24LEtI2jDiMm4uM1eHZB6JS1a2ReNrt5z4/tWopN24mhFpftyz7wTc
+-iaKCJGe+Yr6emTs23XJgT2EFGFKguwIDAQABAoICAQCEYPqnihI0PqZjnwQdGIQp
+-g+P8gl7pyY9cS0OhUueicEbyDI8+V9qn0kcmx61zKDY0Jq4QNd6tnlUCijTc6Mot
+-DwF2G1xsC4GvKxZiy89MOkhloanXETEeQZzDbbjvaM4UgL0AHL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UyEKm9iSq97miuC5/bO
++J3HkK9e+uye3klB3lYnNHKjeFEDoq8DJJ33M/pyY9BuowOZtLJcGu5Krq42FFpaZ
++HIEcZWMwDPaNLunZAXkGpqdw7GPNivSrzy20iJgJLEVXwr0krT5UMVRKo5Xsq/P1
++rxJ78psVCsbOHvVgUfN6fHPf1I+EyLB+Dipr3qPNU1Aty0OCdI+2BeT90ovZiKvu
++dBnuWQOR7HlBimgHsF4Gb9Akjoix6SJKbm/E9GvLfUYbiIkARc99QC3G6h17PGiF
++C2j6oHefg+K1iyTA4LCTAkHWax2ggg==
+ -----END PRIVATE KEY-----
+diff --git a/sample/sample-keys/client-ec.crt b/sample/sample-keys/client-ec.crt
+index 759dabae4e3e..c948b11821dd 100644
+--- a/sample/sample-keys/client-ec.crt
++++ b/sample/sample-keys/client-ec.crt
+@@ -1,85 +1,86 @@
+ Certificate:
+ Data:
+ Version: 3 (0x2)
+- Serial Number: 4 (0x4)
+- Signature Algorithm: sha256WithRSAEncryption
++ Serial Number: 7 (0x7)
++ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+ Validity
+- Not Before: Oct 22 21:59:53 2014 GMT
+- Not After : Oct 19 21:59:53 2024 GMT
++ Not Before: Nov 7 12:23:40 2023 GMT
++ Not After : Nov 4 12:23:40 2033 GMT
+ Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Client-EC/emailAddress=me@myhost.mydomain
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+- 04:3b:ce:62:5d:6f:87:82:75:24:c2:58:f5:0e:88:
+- 4d:57:0d:06:b2:71:88:87:58:19:bb:de:5f:7f:52:
+- 62:51:a2:48:91:83:48:91:90:3e:87:02:0f:15:51:
+- f9:68:97:12:0a:fd:d2:3c:87:83:4b:65:54:00:44:
+- 8d:28:76:49:05
++ 04:25:bd:3e:da:c5:cd:35:c0:44:d5:82:11:77:7a:
++ 24:12:1e:40:53:7a:ff:0d:0c:67:05:94:ce:5d:44:
++ 26:51:9b:0c:57:b1:38:30:9d:bd:13:03:59:12:0e:
++ c8:35:5c:ca:b6:d1:81:41:9d:ac:9f:ec:2b:58:07:
++ 29:6d:d3:5f:5c
+ ASN1 OID: secp256k1
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+- 64:F6:49:88:E7:74:C1:AB:A5:FA:4F:2B:71:3C:25:13:3D:C8:94:C5
++ D4:76:DB:EC:D0:11:63:0E:FE:BA:4E:10:76:22:07:D7:99:02:DE:F6
+ X509v3 Authority Key Identifier:
+- keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B
++ keyid:73:B1:B8:D6:8A:95:6B:12:E0:74:7C:C5:57:55:98:94:5B:AC:78:5E
+ DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+- serial:A1:4E:DE:FA:90:F2:AE:81
+-
++ serial:6F:50:B8:D3:46:6E:72:34:59:BC:00:33:DD:7C:AE:12:EB:27:46:06
+ Signature Algorithm: sha256WithRSAEncryption
+- 32:3d:f0:08:67:dd:03:73:76:cc:76:52:0a:f6:97:d1:c6:fa:
+- 5f:d3:e6:28:c9:75:a7:08:a8:34:49:69:cf:eb:ab:da:86:b3:
+- 2e:65:17:ee:7e:b6:b5:6b:15:0b:dc:11:3a:b9:5a:b3:80:b8:
+- bb:f4:6c:cf:88:3a:10:83:7e:10:a0:82:87:6e:06:ec:78:62:
+- d4:d1:44:27:dd:2c:19:d8:1a:a1:ae:f4:a0:00:7f:53:5a:40:
+- 8a:c2:83:77:4b:26:7d:53:b0:d3:0f:2f:7c:28:70:ef:74:58:
+- 5b:de:81:94:4c:63:19:f0:79:cb:6c:b2:ec:32:1b:4b:e4:62:
+- 22:4f:ad:ac:4a:6f:a9:6e:c4:2a:8d:8a:88:19:09:fd:88:93:
+- 3c:27:4d:91:95:ff:57:84:13:fd:4a:68:db:20:df:10:e6:81:
+- 1d:fd:e7:1d:35:fb:19:02:dd:b5:5f:a0:c1:07:ec:74:b4:ef:
+- 8b:f9:33:9a:f2:a6:3b:6e:b6:4a:52:ab:5d:99:76:64:62:c4:
+- d5:3a:c6:81:8d:eb:c8:4b:02:af:e1:ca:60:e9:8d:c7:a9:2b:
+- ea:4f:56:31:d3:9a:11:c2:9c:83:5c:a2:8d:98:fe:cc:a5:ad:
+- 1f:51:c4:6e:cf:ff:a0:51:64:c8:7f:7f:32:05:4c:8d:7f:bf:
+- b8:ed:e5:81:5f:81:bd:1d:9b:3f:8a:83:27:26:b4:69:84:8b:
+- e5:d9:ea:fd:08:a8:aa:e4:3a:dc:29:4d:80:6c:13:f7:45:ce:
+- 92:f2:a9:f3:5f:90:83:d6:23:0f:50:e5:40:09:4c:6b:f2:73:
+- aa:d8:49:a7:a9:81:6e:bb:f2:e4:a5:7f:19:39:1d:65:f3:11:
+- 97:b1:2b:7c:2f:36:77:7f:75:fd:88:44:90:7c:f2:33:8d:cd:
+- 2c:f6:76:60:33:d3:f4:b3:8c:81:d7:85:89:cc:d7:d5:2c:94:
+- a9:31:3f:d3:63:a7:dc:82:3f:0a:d8:c5:71:97:69:3b:c1:69:
+- cb:f0:1b:be:15:c0:be:aa:fd:e8:13:2c:0c:3f:72:7b:7d:9c:
+- 3b:7f:b8:82:36:4b:ad:4d:16:19:b9:1c:b3:2d:d7:5f:8b:f8:
+- 14:ce:d4:13:e5:82:7a:1d:40:28:08:65:4a:19:d7:7a:35:09:
+- db:36:48:4b:96:44:bd:1f:12:b2:39:08:1e:5b:66:25:9b:e0:
+- 16:d3:79:05:e3:f6:90:da:95:95:33:a1:53:a8:3c:a9:f0:b2:
+- f5:d0:aa:80:a0:96:ca:8c:45:62:c2:74:04:91:68:27:fb:e9:
+- 97:be:3a:87:8a:85:28:2d:6e:a9:60:9b:63:ba:65:98:5e:bb:
+- 02:ee:ac:ba:be:f6:42:26
++ Signature Value:
++ 72:fd:18:d4:c2:0f:ba:6f:94:f2:f9:26:8b:93:fb:d5:99:df:
++ f7:aa:e6:27:f2:89:86:ff:6d:0a:24:ea:ae:d4:68:7b:08:38:
++ 8a:7a:f9:a2:4d:e5:fe:2e:e1:bb:09:8c:2d:df:85:7b:01:dd:
++ 58:4b:15:2a:db:49:10:ab:f1:78:49:fb:94:b3:31:e3:09:e0:
++ 63:3c:d0:f2:34:18:de:37:0a:2d:d3:02:d5:ae:05:49:57:e7:
++ 47:d0:70:3f:f1:35:28:82:79:00:b3:c8:45:00:86:77:d7:68:
++ 63:d2:3d:8b:ef:a9:f8:99:97:fe:d0:0a:98:cb:7a:7b:73:28:
++ 77:f4:bb:cf:1c:63:7e:64:60:87:f7:51:68:e9:7a:90:70:d8:
++ a0:e2:c6:88:70:62:2c:49:ac:ba:8c:2e:c5:d7:c9:42:8b:44:
++ cc:ae:f3:40:79:1c:99:09:2c:4c:24:89:55:41:ce:c6:52:a9:
++ a3:b7:4c:e6:75:63:4f:b6:70:84:1b:3e:56:f5:42:5f:b1:50:
++ 46:eb:33:41:28:f8:30:f6:f9:f9:c0:5d:9b:a4:af:8e:03:c8:
++ 3e:88:66:04:2e:5b:ec:50:36:a8:d1:9f:8e:e0:59:40:bb:f8:
++ ff:45:7d:40:2e:6d:f0:e8:84:5b:db:7e:0d:88:b3:a2:f6:34:
++ 5b:b9:a1:1d:a0:fa:85:78:3b:9b:b3:0b:6c:f1:03:06:9c:f1:
++ e3:ba:64:a3:5c:d8:c8:d5:73:4a:3f:4d:83:aa:e8:c4:ce:dd:
++ 92:23:b2:c8:ab:e5:39:93:d9:d7:ca:70:c2:ff:8f:71:40:f6:
++ c4:89:4a:72:0b:2a:7a:20:15:5b:a4:e9:75:a0:df:93:2b:7d:
++ 1a:54:39:2c:80:4f:21:32:5f:9f:d8:96:08:2f:dc:e2:45:1f:
++ 96:e9:31:84:90:2e:1d:07:92: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6TpdaDfkyt9GlQ5LIBPITJfn9iWCC/c4kUflukxhJAuHQeSVqgiSSUbv0fV
+++jTpzHyyGMpe1nZethlywBDWwsbxA9QOYijYVuEIOvRUj3sNpWJTinJ7L/qAijpU
++TRFcWH78FTCb/u81oQDAFQ9HFK8Jnx7deu3qK8ihUSaj0SWMMRtBMCfK6D8AK4OP
++tPgRMHG4TNivSIiq5ZY++AGpF7byCSfQ6bOzibIP98V4s7LhJqJ4K0ydmVdPfvr+
++m65vxGqxfNA=
+ -----END CERTIFICATE-----
+diff --git a/sample/sample-keys/client-ec.key b/sample/sample-keys/client-ec.key
+index 813138008e12..b0c81ffb6faa 100644
+--- a/sample/sample-keys/client-ec.key
++++ b/sample/sample-keys/client-ec.key
+@@ -1,5 +1,5 @@
+ -----BEGIN PRIVATE KEY-----
+-MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQg2RVk/d0yok086M9bLPIi
+-eu4DfcBUwphOnkje1/7VSY+hRANCAAQ7zmJdb4eCdSTCWPUOiE1XDQaycYiHWBm7
+-3l9/UmJRokiRg0iRkD6HAg8VUflolxIK/dI8h4NLZVQARI0odkkF
++MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQggBG28jKEqUG3n/wcnvcr
++h2VP5dXkRChxqLw3ydT+HpGhRANCAAQlvT7axc01wETVghF3eiQSHkBTev8NDGcF
++lM5dRCZRmwxXsTgwnb0TA1kSDsg1XMq20YFBnayf7CtYBylt019c
+ -----END PRIVATE KEY-----
+diff --git a/sample/sample-keys/client-pass.key b/sample/sample-keys/client-pass.key
+index 2bb8d4e99454..089f906c5073 100644
+--- a/sample/sample-keys/client-pass.key
++++ b/sample/sample-keys/client-pass.key
+@@ -1,30 +1,30 @@
+------BEGIN RSA PRIVATE KEY-----
+-Proc-Type: 4,ENCRYPTED
+-DEK-Info: AES-256-CBC,ECC1F209896FC2621233FFF6F1FFD045
+-
+-i6t7VKTyNNELTvrBO464e02nFg9rvYwumxd0s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++3TF9+bm7hJifD4nOMI0RYU5kROPLR4nKUTkRVOaMEdV8jTCWzjPaffiYKk8IDVhy
++zVnKpuuiPBU6mZKIlBwMAEwUdFSUZ8huRCoa8UGqyukJmYR5JSxJVwtqwtCqHsXd
++2nujp0MvGdJy7V/9TIocKCbJOgubuOYt3F+tp78fUYY0P0TAVIa94Be/P5B+tzKN
++/EjT+mv6RP6YnFSKSGC8CKTolPa2rKJBH+UpaHdFdbKifmY+snIMe2wzYlI62gFj
++uJc7ZHyi4MMbzdWSLblOP+KUhn0qKBJAS12cgOVWP5bb
++-----END ENCRYPTED PRIVATE KEY-----
+diff --git a/sample/sample-keys/client.crt b/sample/sample-keys/client.crt
+index 1744cb22f4c8..9718d340739b 100644
+--- a/sample/sample-keys/client.crt
++++ b/sample/sample-keys/client.crt
+@@ -2,102 +2,102 @@ Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number: 2 (0x2)
+- Signature Algorithm: sha256WithRSAEncryption
++ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+ Validity
+- Not Before: Oct 22 21:59:53 2014 GMT
+- Not After : Oct 19 21:59:53 2024 GMT
++ Not Before: Nov 7 12:23:39 2023 GMT
++ Not After : Nov 4 12:23:39 2033 GMT
+ Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Client/emailAddress=me@myhost.mydomain
+ Subject Public Key Info:
+ Public Key Algorithm: rsaEncryption
+ Public-Key: (2048 bit)
+ Modulus:
+- 00:ec:65:8f:e9:12:c2:1a:5b:e6:56:2a:08:a9:82:
+- 3a:2d:44:78:a3:00:3b:b0:9f:e7:27:10:40:93:ef:
+- f1:cc:3e:a0:aa:04:a2:80:1b:13:a9:e6:fe:81:d6:
+- 70:90:a8:d8:d4:de:30:d8:35:00:d2:be:62:f0:48:
+- da:fc:15:8d:c4:c6:6d:0b:99:f1:2b:83:00:0a:d3:
+- 2a:23:0b:e5:cd:f9:35:df:43:61:15:72:ad:95:98:
+- f6:73:21:41:5e:a0:dd:47:27:a0:d5:9a:d4:41:a8:
+- 1c:1d:57:20:71:17:8f:f7:28:9e:3e:07:ce:ec:d5:
+- 0e:42:4f:1e:74:47:8e:47:9d:d2:14:28:27:2c:14:
+- 10:f5:d1:96:b5:93:74:84:ef:f9:04:de:8d:4a:6f:
+- df:77:ab:ea:d1:58:d3:44:fe:5a:04:01:ff:06:7a:
+- 97:f7:fd:e3:57:48:e1:f0:df:40:13:9f:66:23:5a:
+- e3:55:54:3d:54:39:ee:00:f9:12:f1:d2:df:74:2e:
+- ba:d7:f0:8d:c6:dd:18:58:1c:93:22:0b:75:fa:a8:
+- d6:e0:b5:2f:2d:b9:d4:fe:b9:4f:86:e2:75:48:16:
+- 60:fb:3f:c9:b4:30:42:29:fb:3b:b3:2b:b9:59:81:
+- 6a:46:f3:45:83:bf:fd:d5:1a:ff:37:0c:6f:5b:fd:
+- 61:f1
++ 00:dd:ae:b2:0a:40:e6:cf:e1:c1:a2:a1:d2:83:2c:
++ 31:98:e2:1b:b2:85:40:67:00:fa:ab:bf:cf:9d:14:
++ d1:c6:b7:63:83:aa:5f:9c:14:a0:d2:4d:04:3a:4a:
++ 92:e6:92:4b:a4:86:40:26:42:bd:83:b7:fc:49:b7:
++ 56:d2:ca:e7:70:85:16:8f:8b:3b:da:47:9e:8b:6a:
++ 4a:c8:e6:a8:de:ae:6b:2d:52:22:0c:9d:cf:67:bb:
++ 7d:1e:66:05:53:8b:7c:ae:ad:d1:a6:52:5f:3d:9e:
++ 6b:28:18:57:d9:a1:42:2d:c0:b0:4d:da:4a:f0:29:
++ aa:02:34:86:02:aa:af:67:09:06:ed:45:21:8e:8c:
++ f8:75:56:c7:ea:e8:4f:88:8e:1c:8b:5b:68:2d:b1:
++ 66:a5:e4:c6:36:e2:70:8d:fe:ef:10:f0:52:f8:53:
++ 96:bf:7e:51:70:f2:3f:ae:58:87:38:d1:a3:6b:f6:
++ 38:51:9b:16:ce:67:35:8e:6d:76:63:4d:6b:9b:7d:
++ 77:da:55:6f:20:b1:66:4f:9a:2d:a4:73:3a:52:21:
++ 86:3c:f3:a6:5a:67:e5:7d:10:f5:36:56:21:7e:03:
++ 22:bd:98:e9:18:b4:3f:b3:b5:0d:ed:d5:ef:54:96:
++ 6f:9d:46:6c:6f:0e:ba:4b:1a:f7:cc:d4:e5:24:ba:
++ d2:a5
+ Exponent: 65537 (0x10001)
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+ CA:FALSE
+ X509v3 Subject Key Identifier:
+- D2:B4:36:0F:B1:FC:DD:A5:EA:2A:F7:C7:23:89:FA:E3:FA:7A:44:1D
++ 59:33:B9:2E:63:D1:17:A8:9F:BD:D8:CE:94:21:C5:41:C7:31:62:5D
+ X509v3 Authority Key Identifier:
+- keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B
++ keyid:73:B1:B8:D6:8A:95:6B:12:E0:74:7C:C5:57:55:98:94:5B:AC:78:5E
+ DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+- serial:A1:4E:DE:FA:90:F2:AE:81
+-
++ serial:6F:50:B8:D3:46:6E:72:34:59:BC:00:33:DD:7C:AE:12:EB:27:46:06
+ Signature Algorithm: sha256WithRSAEncryption
+- 7f:e0:fe:84:a7:ec:df:62:a5:cd:3c:c1:e6:42:b1:31:12:f0:
+- b9:da:a7:9e:3f:bd:96:52:b6:fc:55:74:64:3e:e4:ff:7e:aa:
+- f7:3e:06:18:5f:73:85:f8:c8:e0:67:1b:4d:97:ca:05:d0:37:
+- 07:33:64:9b:e6:78:77:14:9a:55:bb:2a:ac:c3:7f:c9:15:08:
+- 83:5c:c8:c2:61:d3:71:4c:05:0b:2b:cb:a3:87:6d:a0:32:ed:
+- b0:b3:27:97:4a:55:8d:01:2a:30:56:68:ab:f2:da:5c:10:73:
+- c9:aa:0a:9c:4b:4c:a0:5b:51:6e:0a:7e:6c:53:80:b0:00:e1:
+- 1e:9a:4c:0a:37:9e:20:89:bc:c5:e5:79:58:b7:45:ff:d3:c4:
+- a1:fd:d9:78:3d:45:16:74:df:82:44:1d:1d:81:50:5a:b9:32:
+- 4c:e2:4f:3f:0e:3a:65:5a:64:83:3b:29:31:c4:99:88:bc:c5:
+- 84:39:f2:19:12:e1:66:d0:ea:fb:75:b1:d2:27:be:91:59:a3:
+- 2b:09:d5:5c:bf:46:8e:d6:67:d6:0b:ec:da:ab:f0:80:19:87:
+- 64:07:a9:77:b1:5e:0c:e2:c5:1d:6a:ac:5d:23:f3:30:75:36:
+- 4e:ca:c3:4e:b0:4d:8c:2c:ce:52:61:63:de:d5:f5:ef:ef:0a:
+- 6b:23:25:26:3c:3a:f2:c3:c2:16:19:3f:a9:32:ba:68:f9:c9:
+- 12:3c:3e:c6:1f:ff:9b:4e:f4:90:b0:63:f5:d1:33:00:30:5a:
+- e8:24:fa:35:44:9b:6a:80:f3:a6:cc:7b:3c:73:5f:50:c4:30:
+- 71:d8:74:90:27:0a:01:4e:a5:5e:b1:f8:da:c2:61:81:11:ae:
+- 29:a3:8f:fa:7e:4c:4e:62:b1:00:de:92:e3:8f:6a:2e:da:d9:
+- 38:5d:6b:7c:0d:e4:01:aa:c8:c6:6d:8b:cd:c0:c8:6e:e4:57:
+- 21:8a:f6:46:30:d9:ad:51:a1:87:96:a6:53:c9:1e:c6:bb:c3:
+- eb:55:fe:8c:d6:5c:d5:c6:f3:ca:b0:60:d2:d4:2a:1f:88:94:
+- d3:4c:1a:da:0c:94:fe:c1:5d:0d:2a:db:99:29:5d:f6:dd:16:
+- c4:c8:4d:74:9e:80:d9:d0:aa:ed:7b:e3:30:e4:47:d8:f5:15:
+- c1:71:b8:c6:fd:ee:fc:9e:b2:5f:b5:b7:92:ed:ff:ca:37:f6:
+- c7:82:b4:54:13:9b:83:cd:87:8b:7e:64:f6:2e:54:3a:22:b1:
+- c5:c1:f4:a5:25:53:9a:4d:a8:0f:e7:35:4b:89:df:19:83:66:
+- 64:d9:db:d1:61:2b:24:1b:1d:44:44:fb:49:30:87:b7:49:23:
+- 08:02:8a:e0:25:f3:f4:43
++ Signature Value:
++ 2a:9e:02:65:f4:3c:c0:37:88:f0:21:f9:fd:2e:7c:f4:8b:bb:
++ 67:7d:f7:48:0c:98:f7:a1:46:4e:33:af:68:77:f4:53:03:09:
++ fd:4e:32:cb:0f:2c:f1:16:37:35:65:aa:68:79:16:a9:32:03:
++ d7:89:10:ef:ba:fd:e1:26:2c:60:7c:3b:42:60:68:47:cf:61:
++ 88:00:77:e7:71:76:49:78:35:52:45:a4:31:7e:2b:e1:0a:c8:
++ ed:e1:a7:28:2f:23:a3:ce:ce:b5:99:6b:54:4d:df:d2:64:0a:
++ b7:c5:25:1e:d4:f7:a1:fd:4f:f3:12:d3:26:5f:3b:b2:93:93:
++ d1:8b:4b:4e:dc:d0:15:63:d1:77:36:75:34:76:37:59:ff:a0:
++ 81:01:ec:b6:42:2f:bd:85:5d:d0:ef:ff:90:61:d6:91:b0:f5:
++ e6:94:66:7e:4c:20:06:c4:2e:0c:9b:9f:7f:89:f0:3e:8f:e5:
++ 06:6c:81:75:a2:0b:c5:ac:44:f1:32:cc:57:90:a0:19:47:8c:
++ 25:7a:d5:f1:61:1f:19:bf:4c:31:da:44:c1:30:91:e8:b5:cc:
++ e4:7e:20:55:0a:b9:dc:f3:5e:f5:7c:d1:0b:ee:71:c6:d6:38:
++ 7e:85:7b:6c:cb:10:85:1e:6a:50:ab:c3:ae:f9:ff:96:4f:a3:
++ 76:d6:fd:c0:f9:c7:9a:60:a8:8c:e5:9a:c5:a9:7b:63:11:ef:
++ 7b:b9:9b:1f:63:51:a8:6d:2b:d6:f7:ef:51:bd:a8:32:9e:92:
++ aa:24:01:c9:e3:6a:c8:94:2e:d2:66:b2:c7:17:e5:06:53:9a:
++ bd:8a:19:8f:3a:51:7a:25:11:e5:e8:59:f7:1b:df:95:98:35:
++ c1:a6:74:15:6b:b1:2c:97:9b:fe:76:7e:56:20:4d:ee:07:8a:
++ b9:8b:bc:92:a9:19:81:28:91:4e:d2:9f:51:99:72:c0:12:76:
++ 5b:c8:74:68:b5:9d:43:53:c1:af:39:b9:28:82:a0:0e:bb:ef:
++ 21:d8:71:dd:02:af:dc:df:48:7b:39:21:7d:83:76:ea:e2:c7:
++ 16:bb:d2:1a:1d:22:f6:4b:47:15:56:41:06:4d:39:1c:96:3f:
++ 25:2d:83:8f:a4:a2:86:fa:0e:e9:45:9c:bf:26:40:e6:3e:9e:
++ d5:00:9f:ce:76:6f:df:cb:b2:85:b8:83:f2:ed:8b:b6:5a:68:
++ b5:c7:1b:ab:19:75:60:f3:5b:e7:5c:70:27:d9:1c:d8:24:f0:
++ 2a:aa:2a:a6:98:77:d6:36:d9:02:35:a8:d3:2c:19:88:b8:0b:
++ d3:76:58:72:54:99:94:9a:ee:38:9b:8d:8e:10:48:cd:28:50:
++ 31:b2:4b:d3:69:7b:91:b4
+ -----BEGIN CERTIFICATE-----
+-MIIFFDCCAvygAwIBAgIBAjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
+-MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t
+-VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYWluMB4XDTE0MTAy
+-MjIxNTk1M1oXDTI0MTAxOTIxNTk1M1owajELMAkGA1UEBhMCS0cxCzAJBgNVBAgT
+-Ak5BMRUwEwYDVQQKEwxPcGVuVlBOLVRFU1QxFDASBgNVBAMTC1Rlc3QtQ2xpZW50
++MIIFHzCCAwegAwIBAgIBAjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
++MAkGA1UECAwCTkExEDAOBgNVBAcMB0JJU0hLRUsxFTATBgNVBAoMDE9wZW5WUE4t
++VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0L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LgdHzFV1WYlFuseF6haqRoMGYxCzAJBgNVBAYTAktH
++MQswCQYDVQQIDAJOQTEQMA4GA1UEBwwHQklTSEtFSzEVMBMGA1UECgwMT3BlblZQ
++Ti1URVNUMSEwHwYJKoZIhvcNAQkBFhJtZUBteWhvc3QubXlkb21haW6CFG9QuNNG
++bnI0WbwAM918rhLrJ0YGMA0GCSqGSIb3DQEBCwUAA4ICAQAqngJl9DzAN4jwIfn9
++Lnz0i7tnffdIDJj3oUZOM69od/RTAwn9TjLLDyzxFjc1ZapoeRapMgPXiRDvuv3h
++JixgfDtCYGhHz2GIAHfncXZJeDVSRaQxfivhCsjt4acoLyOjzs61mWtUTd/SZAq3
++xSUe1Peh/U/zEtMmXzuyk5PRi0tO3NAVY9F3NnU0djdZ/6CBAey2Qi+9hV3Q7/+Q
++YdaRsPXmlGZ+TCAGxC4Mm59/ifA+j+UGbIF1ogvFrETxMsxXkKAZR4wletXxYR8Z
++v0wx2kTBMJHotczkfiBVCrnc8171fNEL7nHG1jh+hXtsyxCFHmpQq8Ou+f+WT6N2
++1v3A+ceaYKiM5ZrFqXtjEe97uZsfY1GobSvW9+9RvagynpKqJAHJ42rIlC7SZrLH
++F+UGU5q9ihmPOlF6JRHl6Fn3G9+VmDXBpnQVa7Esl5v+dn5WIE3uB4q5i7ySqRmB
++KJFO0p9RmXLAEnZbyHRotZ1DU8GvObkogqAOu+8h2HHdAq/c30h7OSF9g3bq4scW
++u9IaHSL2S0cVVkEGTTkclj8lLYOPpKKG+g7pRZy/JkDmPp7VAJ/Odm/fy7KFuIPy
++7Yu2Wmi1xxurGXVg81vnXHAn2RzYJPAqqiqmmHfWNtkCNajTLBmIuAvTdlhyVJmU
++mu44m42OEEjNKFAxskvTaXuRtA==
+ -----END CERTIFICATE-----
+diff --git a/sample/sample-keys/client.key b/sample/sample-keys/client.key
+index 6d31489add1c..4eb27687939f 100644
+--- a/sample/sample-keys/client.key
++++ b/sample/sample-keys/client.key
+@@ -1,28 +1,28 @@
+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2mnU7Dc4uhmQd9+JExqrplKKHrUp8eQEOW8nij6MbPYlpgkMdatvDOJqP
++WrYtwZsKXGhnalvbS3ye20HqpjYpBR7co3Q9KMaaDNoQe9HtjbT80GXpQEbJN2Iu
++ADo3hPoX0yENIbKFccMuptM=
+ -----END PRIVATE KEY-----
+diff --git a/sample/sample-keys/dh2048.pem b/sample/sample-keys/dh2048.pem
+index 8eda59aa139e..d393581bdf15 100644
+--- a/sample/sample-keys/dh2048.pem
++++ b/sample/sample-keys/dh2048.pem
+@@ -1,8 +1,8 @@
+ -----BEGIN DH PARAMETERS-----
+-MIIBCAKCAQEArdnA32xujHPlPI+jPffHSoMUZ+b5gRz1H1Lw9//Gugm5TAsRiYrB
+-t2BDSsMKvAjyqN+i5SJv4TOk98kRRKB27iPvyXmiL945VaDQl/UehCySjYlGFUjW
+-9nuo+JwQxeSbw0TLiSYoYJZQ8X1CxPl9mgJl277O4cW1Gc8I/bWa+ipU/4K5wv3h
+-GI8nt+6A0jN3M/KebotMP101G4k0l0qsY4oRMTmP+z3oAP0qU9NZ1jiuMFVzRlNp
+-5FdYF7ctrH+tBF+QmyT4SRKSED4wE4oX6gp420NaBhIEQifIj75wlMDtxQlpkN+x
+-QkjsEbPlaPKHGQ4uupssChVUi8IM2yq5EwIBAg==
++MIIBCAKCAQEAgGOVdT2c3GUITi1pF9u+yo72PRBW7I7SnNIsHmXCRYibpyPMGxKM
++ROK6rduMllC0CjiXQZhMfqCg+GIca9xxBPKtTnwtKWD3eH5wgs24kw86mODITjJk
++6lTNM8it2HY4UuIQoFCqCdt5f5Gwgh2nwU5+dy731md6pmw9x9jUEXoyh67CeZfb
++C45x5ttzjpSBvYe5ZIiUypYKumYhdiZhk0RLefEtlUYF9oXrUExDqfYDpSO/1/X3
++oHC0O0EV3Lh1boZTG7+FjcvMYLIKYUDTmxHpII6/OAHhprg7U9ui1i7GyQRv1lze
++QV3FGO4UwLntnv352iYy91b0ls2mwD+zTwIBAg==
+ -----END DH PARAMETERS-----
+diff --git a/sample/sample-keys/gen-sample-keys.sh b/sample/sample-keys/gen-sample-keys.sh
+index b9e73703e6bb..25931bdf25b6 100755
+--- a/sample/sample-keys/gen-sample-keys.sh
++++ b/sample/sample-keys/gen-sample-keys.sh
+@@ -15,7 +15,8 @@ then
+ fi
+
+ # Generate static key for tls-auth (or static key mode)
+-$(dirname ${0})/../../src/openvpn/openvpn --genkey tls-auth ta.key
++top_builddir="${top_builddir:-$(dirname ${0})/../..}"
++${top_builddir}/src/openvpn/openvpn --genkey tls-auth ta.key
+
+ # Create required directories and files
+ mkdir -p sample-ca
+diff --git a/sample/sample-keys/server-ec.crt b/sample/sample-keys/server-ec.crt
+index 7c7645a53e08..a1f938798f22 100644
+--- a/sample/sample-keys/server-ec.crt
++++ b/sample/sample-keys/server-ec.crt
+@@ -1,22 +1,22 @@
+ Certificate:
+ Data:
+ Version: 3 (0x2)
+- Serial Number: 3 (0x3)
+- Signature Algorithm: sha256WithRSAEncryption
++ Serial Number: 6 (0x6)
++ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+ Validity
+- Not Before: Oct 22 21:59:53 2014 GMT
+- Not After : Oct 19 21:59:53 2024 GMT
++ Not Before: Nov 7 12:23:40 2023 GMT
++ Not After : Nov 4 12:23:40 2033 GMT
+ Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Server-EC/emailAddress=me@myhost.mydomain
+ Subject Public Key Info:
+ Public Key Algorithm: id-ecPublicKey
+ Public-Key: (256 bit)
+ pub:
+- 04:21:09:ac:27:e6:00:3a:57:f4:f6:c7:78:a9:b1:
+- f4:d7:d7:45:59:39:e4:a3:d3:2c:94:f9:61:4a:e6:
+- b9:e9:87:57:c8:0f:88:03:a0:56:ee:34:e7:e4:4e:
+- 20:63:6c:c1:6e:c1:04:ac:b9:2f:a9:76:69:d3:7d:
+- 49:ff:f1:34:cb
++ 04:d6:37:3e:63:63:00:c8:48:ad:12:01:53:e8:72:
++ 4b:b5:50:66:fc:8f:9a:a5:ea:93:cf:94:7e:9d:75:
++ e7:9b:c5:7e:08:6f:7e:e5:b4:b6:e7:c4:f1:41:a8:
++ 49:0d:f1:e8:7c:11:40:ae:a0:f3:e0:e4:f4:8d:d4:
++ 15:47:38:55:fd
+ ASN1 OID: secp256k1
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+@@ -26,71 +26,71 @@ Certificate:
+ Netscape Comment:
+ OpenSSL Generated Server Certificate
+ X509v3 Subject Key Identifier:
+- 33:1A:42:61:9E:88:08:3F:6F:1F:98:88:3A:DD:2D:C7:07:3D:F6:9B
++ F8:8F:75:E8:88:59:99:F2:4B:B1:0E:FC:51:52:6E:DD:2E:C9:13:90
+ X509v3 Authority Key Identifier:
+- keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B
++ keyid:73:B1:B8:D6:8A:95:6B:12:E0:74:7C:C5:57:55:98:94:5B:AC:78:5E
+ DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+- serial:A1:4E:DE:FA:90:F2:AE:81
+-
++ serial:6F:50:B8:D3:46:6E:72:34:59:BC:00:33:DD:7C:AE:12:EB:27:46:06
+ X509v3 Extended Key Usage:
+ TLS Web Server Authentication
+ X509v3 Key Usage:
+ Digital Signature, Key Encipherment
+ Signature Algorithm: sha256WithRSAEncryption
+- 9d:89:f6:7e:0b:43:05:22:63:e5:b3:45:a8:d9:ef:33:3c:b7:
+- 19:37:28:87:27:43:43:86:a3:3f:b9:23:27:0f:96:4f:de:01:
+- 80:38:6b:d9:c8:94:77:1f:06:08:34:65:77:ad:57:0c:23:99:
+- f1:51:12:5f:32:d8:9c:7c:93:f1:f6:72:2a:05:61:ff:62:aa:
+- 33:aa:ef:a3:4d:d6:93:56:40:ff:38:2e:73:1c:69:fb:71:a1:
+- fa:64:19:6a:04:1c:8b:20:a8:ee:a5:18:63:f8:84:f4:ca:84:
+- 8e:b6:05:48:c6:f3:f7:81:90:4d:9e:00:cd:4a:92:83:d4:93:
+- 67:05:dc:16:8b:78:fa:b1:82:48:c6:86:74:44:b1:06:7e:8a:
+- c8:64:0b:82:3a:e2:f5:56:60:ea:50:70:03:da:9f:fc:28:20:
+- 6b:7d:04:e0:eb:8d:e2:f1:be:82:2f:ba:51:50:2b:6c:d2:fc:
+- 11:cd:69:85:3b:9e:14:19:dd:bc:14:cf:61:b0:7a:07:cb:e8:
+- e0:fc:c3:1f:a4:cb:cf:c1:e9:62:0f:d2:53:f8:ce:06:f4:f8:
+- 2f:55:13:aa:67:44:b6:b8:e8:3e:82:af:66:f5:f0:7c:fe:41:
+- e6:9d:c0:9f:78:fd:00:85:02:40:63:37:fa:00:e6:3c:a6:9f:
+- 35:4f:1d:a6:f1:cb:8b:04:e0:67:98:56:d1:87:58:b6:39:f6:
+- d3:fe:a8:40:50:80:7f:e6:4a:36:d0:c0:a5:61:64:1d:3a:87:
+- ad:78:72:c9:3f:98:44:35:f9:cf:32:b2:18:4c:b0:72:fa:5e:
+- 6c:62:1e:d4:31:0c:c8:9b:74:f0:00:9e:70:c3:1e:c7:a4:9d:
+- 03:a4:ac:1a:09:1f:86:23:65:51:34:50:86:68:1e:68:4d:9a:
+- 4b:78:10:1c:bd:51:09:bb:fe:16:a3:c7:19:b4:05:44:a1:e6:
+- c6:23:76:d5:b8:3a:eb:a5:17:1d:2b:2e:fe:85:7c:88:4f:f1:
+- e8:34:32:e0:c5:96:87:c3:e8:c9:5f:89:24:10:0e:1e:07:0b:
+- 2c:f8:d0:49:1b:63:5e:63:44:e9:2a:43:e2:9c:d6:f2:43:99:
+- 47:f8:9b:49:1a:a7:d1:e0:53:67:1d:cb:14:b6:b0:2c:4d:b3:
+- f2:c5:62:c2:a6:09:7a:c0:6c:59:3e:73:83:0c:6c:de:30:77:
+- 4d:1b:ed:b0:7f:77:87:8d:55:1d:d3:ed:f7:66:bd:06:2a:f8:
+- fd:00:e7:c0:31:e2:ff:53:9e:25:97:c6:64:84:9d:8d:61:8e:
+- c9:1f:6c:55:a1:7c:59:aa:eb:e8:2a:b2:2d:c7:09:cd:b5:3d:
+- d8:74:4f:6e:9c:3b:d5:6d
++ Signature Value:
++ 72:9d:c1:ea:43:a5:fb:9f:5b:e0:35:98:c3:77:c2:84:9e:e9:
++ 2c:9d:ab:6b:eb:dc:de:b2:9c:fa:38:2a:95:95:ca:35:1b:e7:
++ b4:c2:ab:72:ea:f3:8e:6e:c4:3c:98:cd:88:3d:a4:7a:92:0c:
++ 83:25:e2:e0:46:c9:e8:ed:4f:35:21:0c:cd:f0:16:87:0c:cc:
++ a3:97:cf:5b:ef:1d:ce:59:78:2c:36:83:c3:59:60:79:f8:4f:
++ 19:7b:19:d8:c3:03:d6:bc:33:be:c2:72:d7:0f:f8:82:de:a3:
++ e6:03:87:5e:0d:e7:9d:87:38:15:77:65:97:2d:4e:7e:d0:47:
++ 99:44:f4:3a:6d:b0:f1:6d:93:2e:b4:8a:d2:38:a9:1e:00:ea:
++ 68:27:2d:d8:4a:99:f0:5f:a6:f5:7d:f0:57:60:5a:f7:5d:92:
++ a4:ab:30:86:a8:5d:ac:6a:dc:4a:73:6b:5e:77:a9:b9:39:cb:
++ 60:3c:b9:ff:d7:b3:81:5d:8e:6a:ef:c6:17:ea:0a:65:a3:9d:
++ 1b:ff:1c:73:5c:6a:bd:9c:bf:b8:81:bc:11:2f:8b:0d:0e:80:
++ 40:5c:e0:10:33:02:35:e7:8c:d8:73:38:03:b3:41:f3:45:95:
++ 57:35:5c:d5:6a:3f:c6:04:79:aa:4a:1c:6d:ab:a9:35:d6:fc:
++ 02:64:33:b4:d8:27:18:ff:8b:97:47:96:c9:ff:2f:93:50:26:
++ 7b:3c:84:03:6d:e1:56:44:49:12:45:50:16:de:23:b5:9e:07:
++ 22:2b:51:78:3c:c4:9d:64:20:7c:c3:eb:af:33:54:5f:f9:35:
++ bd:bc:91:39:cc:50:16:c2:8e:60:4e:46:9c:af:17:fb:a0:c8:
++ 6f:0a:e2:50:8b:a5:a9:f4:8f:f4:fa:d4:c9:a7:73:42:0c:00:
++ 6d:37:f6:3c:5d:36:8b:ef:a7:bc:d4:af:77:72:f8:c5:71:15:
++ 7d:de:74:0f:ec:4c:ce:d6:4d:70:b2:64:38:cb:96:41:c2:02:
++ 45:22:62:dd:9d:d2:1c:71:cd:4b:c5:92:34:8a:26:b9:b1:8f:
++ 50:85:0c:40:f1:61:68:dd:af:22:1b:d3:3a:78:fc:4f:9d:c0:
++ 05:ba:02:7c:15:5b:9c:4f:c8:b9:b9:14:24:fb:1c:2f:16:9f:
++ 24:e6:d0:f2:a5:6b:34:c5:69:84:0a:dc:ff:90:22:c6:45:d2:
++ 0b:bf:20:28:7c:52:ee:a1:00:78:e9:18:cc:11:44:06:bb:15:
++ 6d:8b:39:2c:37:69:ac:2d:86:4c:ef:8c:c7:00:0a:55:c3:5a:
++ 53:53:b8:46:56:3a:87:d1:93:33:20:9a:a6:75:5f:0d:23:f5:
++ 40:87:e8:cf:74:b1:2a:b4
+ -----BEGIN CERTIFICATE-----
+-MIIEtTCCAp2gAwIBAgIBAzANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
+-MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t
+-VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYWluMB4XDTE0MTAy
+-MjIxNTk1M1oXDTI0MTAxOTIxNTk1M1owbTELMAkGA1UEBhMCS0cxCzAJBgNVBAgT
+-Ak5BMRUwEwYDVQQKEwxPcGVuVlBOLVRFU1QxFzAVBgNVBAMTDlRlc3QtU2VydmVy
++MIIEwDCCAqigAwIBAgIBBjANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
++MAkGA1UECAwCTkExEDAOBgNVBAcMB0JJU0hLRUsxFTATBgNVBAoMDE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EPJjNiD2kepIMgyXi4EbJ
++6O1PNSEMzfAWhwzMo5fPW+8dzll4LDaDw1lgefhPGXsZ2MMD1rwzvsJy1w/4gt6j
++5gOHXg3nnYc4FXdlly1OftBHmUT0Om2w8W2TLrSK0jipHgDqaCct2EqZ8F+m9X3w
++V2Ba912SpKswhqhdrGrcSnNrXnepuTnLYDy5/9ezgV2Oau/GF+oKZaOdG/8cc1xq
++vZy/uIG8ES+LDQ6AQFzgEDMCNeeM2HM4A7NB80WVVzVc1Wo/xgR5qkocbaupNdb8
++AmQztNgnGP+Ll0eWyf8vk1AmezyEA23hVkRJEkVQFt4jtZ4HIitReDzEnWQgfMPr
++rzNUX/k1vbyROcxQFsKOYE5GnK8X+6DIbwriUIulqfSP9PrUyadzQgwAbTf2PF02
++i++nvNSvd3L4xXEVfd50D+xMztZNcLJkOMuWQcICRSJi3Z3SHHHNS8WSNIomubGP
++UIUMQPFhaN2vIhvTOnj8T53ABboCfBVbnE/IubkUJPscLxafJObQ8qVrNMVphArc
++/5AixkXSC78gKHxS7qEAeOkYzBFEBrsVbYs5LDdprC2GTO+MxwAKVcNaU1O4RlY6
++h9GTMyCapnVfDSP1QIfoz3SxKrQ=
+ -----END CERTIFICATE-----
+diff --git a/sample/sample-keys/server-ec.key b/sample/sample-keys/server-ec.key
+index 8f2c914eed8c..27c8b60097f2 100644
+--- a/sample/sample-keys/server-ec.key
++++ b/sample/sample-keys/server-ec.key
+@@ -1,5 +1,5 @@
+ -----BEGIN PRIVATE KEY-----
+-MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQgLHGYqSlzoRaogmJfrC+E
+-ozTothB9bORaQ1C/3FmeQ6ehRANCAAQhCawn5gA6V/T2x3ipsfTX10VZOeSj0yyU
+-+WFK5rnph1fID4gDoFbuNOfkTiBjbMFuwQSsuS+pdmnTfUn/8TTL
++MIGEAgEAMBAGByqGSM49AgEGBSuBBAAKBG0wawIBAQQghKHFa1jQGnTwZbFNJoJv
++RABNN9RrBuBkrXPCwOdUnt6hRANCAATWNz5jYwDISK0SAVPocku1UGb8j5ql6pPP
++lH6ddeebxX4Ib37ltLbnxPFBqEkN8eh8EUCuoPPg5PSN1BVHOFX9
+ -----END PRIVATE KEY-----
+diff --git a/sample/sample-keys/server.crt b/sample/sample-keys/server.crt
+index 76b404488eab..7f74cc7ebcf0 100644
+--- a/sample/sample-keys/server.crt
++++ b/sample/sample-keys/server.crt
+@@ -2,34 +2,34 @@ Certificate:
+ Data:
+ Version: 3 (0x2)
+ Serial Number: 1 (0x1)
+- Signature Algorithm: sha256WithRSAEncryption
++ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: C=KG, ST=NA, L=BISHKEK, O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+ Validity
+- Not Before: Oct 22 21:59:52 2014 GMT
+- Not After : Oct 19 21:59:52 2024 GMT
++ Not Before: Nov 7 12:23:39 2023 GMT
++ Not After : Nov 4 12:23:39 2033 GMT
+ Subject: C=KG, ST=NA, O=OpenVPN-TEST, CN=Test-Server/emailAddress=me@myhost.mydomain
+ Subject Public Key Info:
+ Public Key Algorithm: rsaEncryption
+ Public-Key: (2048 bit)
+ Modulus:
+- 00:a5:b8:a2:ee:ce:b1:a6:0f:6a:b2:9f:d3:22:17:
+- 79:de:09:98:71:78:fa:a7:ce:36:51:54:57:c7:31:
+- 99:56:d1:8a:d6:c5:fd:52:e6:88:0e:7b:f9:ea:27:
+- 7a:bf:3f:14:ec:aa:d2:ff:8b:56:58:ac:ca:51:77:
+- c5:3c:b6:e4:83:6f:22:06:2d:5b:eb:e7:59:d4:ab:
+- 42:c8:d5:a9:87:73:b3:73:36:51:2f:a5:d0:90:a2:
+- 87:64:54:6c:12:d3:b8:76:47:69:af:ae:8f:00:b3:
+- 70:b9:e7:67:3f:8c:6a:3d:79:5f:81:27:a3:0e:aa:
+- a7:3d:81:48:10:b1:18:6c:38:2e:8f:7a:7b:c5:3d:
+- 21:c8:f9:a0:7f:17:2b:88:4f:ba:f2:ec:6d:24:8e:
+- 6c:f1:0a:5c:d9:5b:b1:b0:fc:49:cb:4a:d2:58:c6:
+- 2a:25:b0:97:84:c3:9e:ff:34:8c:10:46:7f:0f:fb:
+- 3c:59:7a:a6:29:0c:ae:8e:50:3a:f2:53:84:40:2d:
+- d5:91:7b:0a:37:8e:82:77:ce:66:2f:34:77:5c:a5:
+- 45:3b:00:19:a7:07:d1:92:e6:66:b9:3b:4e:e9:63:
+- fc:33:98:1a:ae:7b:08:7d:0a:df:7a:ba:aa:59:6d:
+- 86:82:0a:64:2b:da:59:a7:4c:4e:ef:3d:bd:04:a2:
+- 4b:31
++ 00:af:93:ce:9d:86:87:c4:8a:bb:38:6f:50:16:9b:
++ 29:70:da:5a:bd:b3:4c:5a:03:b8:e1:94:f5:3f:4b:
++ 3f:1b:05:ea:77:9e:34:59:01:99:de:81:e2:87:3a:
++ d4:05:18:40:26:7f:a3:e9:82:52:bc:32:84:32:b9:
++ 3c:61:1f:68:5a:89:01:17:21:ec:b9:33:5b:96:33:
++ 16:91:0f:36:af:c3:0f:68:10:44:ea:e6:f9:00:35:
++ 13:61:3d:e7:a0:b1:4b:91:31:b8:11:02:a0:98:cd:
++ fd:aa:e7:53:6c:31:05:87:36:56:c5:e4:8c:12:96:
++ d6:f0:c4:5a:a7:0d:96:5f:f6:7a:95:ad:58:e5:6d:
++ 86:54:75:ea:da:aa:fd:1d:0c:38:19:6a:a6:24:c6:
++ 25:60:73:c4:a9:86:51:af:f6:52:45:48:f1:96:16:
++ 8e:19:ff:3f:ce:7b:d1:96:f6:2c:75:12:16:90:27:
++ 78:27:09:0a:77:a0:d8:6e:64:b0:09:94:7c:95:81:
++ 76:a7:c3:be:7d:5a:0c:5a:e4:2d:d2:15:6d:00:bb:
++ 83:a6:ac:35:dc:1e:f7:f5:67:ac:2f:70:07:fd:94:
++ d9:b1:da:f4:8f:64:67:92:f1:f1:a8:72:27:dd:5c:
++ d4:f1:38:ab:76:b8:4e:38:26:d4:4c:d9:87:4c:42:
++ 63:d5
+ Exponent: 65537 (0x10001)
+ X509v3 extensions:
+ X509v3 Basic Constraints:
+@@ -39,75 +39,75 @@ Certificate:
+ Netscape Comment:
+ OpenSSL Generated Server Certificate
+ X509v3 Subject Key Identifier:
+- B3:9D:81:E6:16:92:64:C4:86:87:F5:29:10:1B:5E:2F:74:F7:ED:B1
++ 18:B9:E7:B1:3E:D2:87:C4:78:2C:0D:D9:BB:7E:BE:68:B3:FC:6A:2B
+ X509v3 Authority Key Identifier:
+- keyid:2B:40:E5:C9:7D:F5:F4:96:38:E9:2F:E3:2F:D9:40:64:C9:8E:05:9B
++ keyid:73:B1:B8:D6:8A:95:6B:12:E0:74:7C:C5:57:55:98:94:5B:AC:78:5E
+ DirName:/C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/emailAddress=me@myhost.mydomain
+- serial:A1:4E:DE:FA:90:F2:AE:81
+-
++ serial:6F:50:B8:D3:46:6E:72:34:59:BC:00:33:DD:7C:AE:12:EB:27:46:06
+ X509v3 Extended Key Usage:
+ TLS Web Server Authentication
+ X509v3 Key Usage:
+ Digital Signature, Key Encipherment
+ Signature Algorithm: sha256WithRSAEncryption
+- 4e:25:80:1b:cb:b0:42:ff:bb:3f:e8:0d:58:c1:80:db:cf:d0:
+- 90:df:ca:c1:e6:41:e1:48:7f:a7:1e:c7:35:9f:9c:6d:7c:3e:
+- 82:e8:de:7e:ae:82:16:00:33:0f:02:23:f1:9d:fe:2b:06:16:
+- 05:55:16:89:dc:63:ac:5f:1a:31:13:79:21:a3:6e:60:28:e8:
+- e7:6b:54:00:22:a1:b7:69:5a:17:31:ce:0f:c2:a6:dd:a3:6f:
+- de:ea:19:6c:d2:d2:cb:35:9d:dd:87:51:33:68:cd:c3:9b:90:
+- 55:f1:80:3d:5c:b8:09:b6:e1:3c:13:a4:5d:4a:ce:a5:11:9e:
+- f9:08:ee:be:e3:54:1d:06:4c:bb:1b:72:13:ee:7d:a0:45:cc:
+- fe:d1:3b:02:03:c1:d4:ea:45:2d:a8:c9:97:e7:f3:8a:7a:a0:
+- 2f:dd:48:3a:75:c9:42:28:94:fc:af:44:52:16:68:98:d6:ad:
+- a8:65:b1:cd:ac:60:41:70:e5:44:e8:5a:f2:e7:fc:3b:fe:45:
+- 89:17:1d:6d:85:c6:f0:fc:69:87:d1:1d:07:f3:cb:7b:54:8d:
+- aa:a3:cc:e3:c6:fc:d6:05:76:35:d0:26:63:8e:d1:a8:b7:ff:
+- 61:42:8a:2c:63:1f:d4:ec:14:47:6b:1e:e3:81:61:12:3b:8c:
+- 16:b5:cf:87:6a:2d:42:21:83:9c:0e:3a:90:3a:1e:c1:36:61:
+- 41:f9:fb:4e:5d:ea:f4:df:23:92:33:2b:9b:14:9f:a0:f5:d3:
+- c4:f8:1f:2f:9c:11:36:af:2a:22:61:95:32:0b:c4:1c:2d:b1:
+- c1:0a:2a:97:c0:43:4a:6c:3e:db:00:cd:29:15:9e:7e:41:75:
+- 36:a8:56:86:8c:82:9e:46:20:e5:06:1e:60:d2:03:5f:9f:9e:
+- 69:bb:bf:c2:b4:43:e2:7d:85:17:83:18:41:b0:cb:a9:04:1b:
+- 18:52:9f:89:8b:76:9f:94:59:81:4f:60:5b:33:18:fc:c7:52:
+- d0:d2:69:fc:0b:a2:63:32:75:43:99:e9:d7:f8:6d:c7:55:31:
+- 0c:f3:ef:1a:71:e1:0a:57:e1:9d:13:b2:1e:fe:1d:ef:e4:f1:
+- 51:d9:95:b3:fd:28:28:93:91:4a:29:c5:37:0e:ab:d8:85:6a:
+- fe:a8:83:1f:7b:80:5d:1f:04:79:b7:a9:08:6e:0d:d6:2e:aa:
+- 7c:f6:63:7d:41:de:70:13:32:ce:dd:58:cc:a6:73:d4:72:7e:
+- d7:ac:74:a8:35:ba:c3:1b:2a:64:d7:5a:37:97:56:94:34:2b:
+- 2a:71:60:bc:69:ab:00:85:b9:4f:67:32:17:51:c3:da:57:3a:
+- 37:89:66:c4:7a:51:da:5f
++ Signature Value:
++ 1d:e9:04:bc:77:22:d9:70:59:aa:d2:f4:4b:5b:8c:8c:6d:b8:
++ 7d:0d:aa:0f:db:75:11:23:72:3a:95:34:33:63:95:16:f1:04:
++ 61:95:8e:3f:36:4d:b7:28:a6:f2:ed:c8:89:8f:7f:05:65:83:
++ 13:5d:42:ea:2c:1d:a8:79:25:ec:7c:19:6f:51:f2:b0:d0:19:
++ 6a:db:14:ae:e4:69:91:d8:47:78:5a:d2:06:ce:fd:8f:d5:1d:
++ 78:ae:86:2e:5a:f4:ef:db:05:3d:fc:12:9f:fb:76:60:60:bc:
++ 2a:a0:89:50:ea:d8:1b:89:aa:5b:f5:3b:e7:af:3f:dc:ae:6e:
++ bd:5c:7e:63:52:2e:c9:6d:8f:e2:a0:fe:5d:ab:b1:dc:09:39:
++ 3b:14:a0:ee:8a:a1:7d:ce:00:a2:9f:8a:b9:f2:67:71:e1:40:
++ 9e:d7:c8:92:8f:a2:38:e5:8f:bc:5b:00:ab:92:2f:c5:21:83:
++ 05:c7:ff:7a:84:39:99:e7:00:cb:28:2e:51:b8:e8:3e:90:84:
++ f2:d3:6a:67:b3:74:fd:e6:3f:53:b5:4a:08:6f:ed:0f:c2:81:
++ 9a:eb:13:26:c1:15:1d:f3:21:51:39:56:76:55:8c:6d:79:6b:
++ 5e:19:46:f2:19:2c:47:4f:2d:53:39:45:b5:50:6e:c4:1a:b6:
++ 0e:9a:04:92:e9:7b:9d:d5:d7:2d:f3:30:5d:04:ce:24:93:75:
++ 5c:35:51:77:e7:74:dd:97:05:bd:06:8a:a2:b2:8e:6c:74:e5:
++ 9e:13:10:7e:37:b2:47:72:a0:be:b3:2f:ec:61:09:28:76:b8:
++ a1:85:28:ae:32:a7:b5:57:86:2c:d9:cd:26:f7:47:cc:92:48:
++ 7d:06:ce:30:db:bc:23:fe:88:9c:75:50:7c:c0:f1:96:53:54:
++ 34:b7:0c:a4:3a:66:12:ea:51:7f:ad:c7:4e:ed:98:8f:3d:c7:
++ ba:29:cd:4b:e9:e0:ce:54:a3:b0:51:d7:00:26:bb:b4:86:f6:
++ d0:76:51:9d:53:cb:52:94:e0:36:a6:9f:10:cb:79:92:4c:17:
++ cf:f2:9e:66:75:06:96:38:c1:f8:7c:22:1b:8e:53:01:bc:af:
++ 86:7f:e0:02:f1:14:e2:cb:4b:94:f5:a7:c4:e3:d5:39:83:18:
++ 2d:aa:ff:82:b4:da:0a:1b:5d:72:66:0d:c3:a6:7a:8a:2d:89:
++ db:e7:ea:2f:2a:ec:eb:4c:0a:2c:b1:41:1c:8d:7c:cb:78:6a:
++ a7:c5:e7:0b:7a:bf:44:de:24:02:72:da:88:77:40:5e:13:b0:
++ 55:28:b5:31:1a:f9:43:79:2c:a1:fa:7d:9a:c8:7a:fe:c2:27:
++ e4:47:02:40:b6:d2:3d:35
+ -----BEGIN CERTIFICATE-----
+-MIIFgDCCA2igAwIBAgIBATANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
+-MAkGA1UECBMCTkExEDAOBgNVBAcTB0JJU0hLRUsxFTATBgNVBAoTDE9wZW5WUE4t
+-VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYWluMB4XDTE0MTAy
+-MjIxNTk1MloXDTI0MTAxOTIxNTk1MlowajELMAkGA1UEBhMCS0cxCzAJBgNVBAgT
+-Ak5BMRUwEwYDVQQKEwxPcGVuVlBOLVRFU1QxFDASBgNVBAMTC1Rlc3QtU2VydmVy
++MIIFizCCA3OgAwIBAgIBATANBgkqhkiG9w0BAQsFADBmMQswCQYDVQQGEwJLRzEL
++MAkGA1UECAwCTkExEDAOBgNVBAcMB0JJU0hLRUsxFTATBgNVBAoMDE9wZW5WUE4t
++VEVTVDEhMB8GCSqGSIb3DQEJARYSbWVAbXlob3N0Lm15ZG9tYWluMB4XDTIzMTEw
++NzEyMjMzOVoXDTMzMTEwNDEyMjMzOVowajELMAkGA1UEBhMCS0cxCzAJBgNVBAgM
++Ak5BMRUwEwYDVQQKDAxPcGVuVlBOL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LUxGvlDeSyh+n2ayHr+wifkRwJAttI9NQ==
+ -----END CERTIFICATE-----
+diff --git a/sample/sample-keys/server.key b/sample/sample-keys/server.key
+index 011df12ec99b..d4b770aca15d 100644
+--- a/sample/sample-keys/server.key
++++ b/sample/sample-keys/server.key
+@@ -1,28 +1,28 @@
+ -----BEGIN PRIVATE KEY-----
+-MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCluKLuzrGmD2qy
+-n9MiF3neCZhxePqnzjZRVFfHMZlW0YrWxf1S5ogOe/nqJ3q/PxTsqtL/i1ZYrMpR
+-d8U8tuSDbyIGLVvr51nUq0LI1amHc7NzNlEvpdCQoodkVGwS07h2R2mvro8As3C5
+-52c/jGo9eV+BJ6MOqqc9gUgQsRhsOC6PenvFPSHI+aB/FyuIT7ry7G0kjmzxClzZ
+-W7Gw/EnLStJYxiolsJeEw57/NIwQRn8P+zxZeqYpDK6OUDryU4RALdWRewo3joJ3
+-zmYvNHdcpUU7ABmnB9GS5ma5O07pY/wzmBquewh9Ct96uqpZbYaCCmQr2lmnTE7v
+-Pb0EoksxAgMBAAECggEAPMOMin+jR75TYxeTNObiunVOPh0b2zeTVxLT9KfND7ZZ
+-cBK8pg79SEJRCnhbW5BnvbeNEkIm8PC6ZlDCM1bkRwUStq0fDUqQ95esLzOYq5/S
+-5qW98viblszhU/pYfja/Zi8dI1uf96PT63Zbt0NnGQ9N42+DLDeKhtTGdchZqiQA
+-LeSR0bQanY4tUUtCNYvBT8E3pzhoIsUzVwzIK53oovRpcOX3pMXVYZsmNhXdFFRy
+-YkjMXpj7fGyaAJK0QsC+PsgrKuhXDzDttsG2lI/mq9+7RXB3d/pzhmBVWynVH2lw
+-iQ7ONkSz7akDz/4I4WmxJep+FfQJYgK6rnLAlQqauQKBgQDammSAprnvDvNhSEp8
+-W+xt7jQnFqaENbGgP0/D/OZMXc4khgexqlKFmSnBCRDmQ6JvLTWqDXC4+aqAbFQz
+-zAIjiKaT+so8xvFR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rxJmhfwulpjJlqdQ4tzu8c8zj2m0UPQlGoiUD6BiUcC
++a/qkIa8c53mLVi4LHQRyPOZazbE9Qcwv9QoEbAcgRLFHW6YnhDzUbyvs1IndZmjz
++wG+Fma1+64k4JpLIi5UlbebwihLzX2ojK/IY8bEbbQKBgQC81tY7mRPAYnl5QmIQ
++YLqvQyHf/a2bVY+3XNyLF6tWngCOyt8z4Dy3pTRVI2KMVXL9+zPWuJdabwwVlWJs
++9CzR9SqYkaPP3mlbZXWt5X10OiyNU+kcCvTRNZ10OUr8XJ0tHRIuJxgBGoXdWxSF
++6uIa5Vvw9DOMFGnbugLbWuMYjQ==
+ -----END PRIVATE KEY-----
+diff --git a/sample/sample-keys/ta.key b/sample/sample-keys/ta.key
+index 166903681faf..770e60d5ebcc 100644
+--- a/sample/sample-keys/ta.key
++++ b/sample/sample-keys/ta.key
+@@ -2,20 +2,20 @@
+ # 2048 bit OpenVPN static key
+ #
+ -----BEGIN OpenVPN Static key V1-----
+-a863b1cbdb911ff4ef3360ce135157e7
+-241a465f5045f51cf9a92ebc24da34fd
+-5fc48456778c977e374d55a8a7298aef
+-40d0ab0c60b5e09838510526b73473a0
+-8da46a8c352572dd86d4a871700a915b
+-6aaa58a9dac560db2dfdd7ef15a202e1
+-fca6913d7ee79c678c5798fbf7bd920c
+-caa7a64720908da7254598b052d07f55
+-5e31dc5721932cffbdd8965d04107415
+-46c86823da18b66aab347e4522cc05ff
+-634968889209c96b1024909cd4ce574c
+-f829aa9c17d5df4a66043182ee23635d
+-8cabf5a7ba02345ad94a3aa25a63d55c
+-e13f4ad235a0825e3fe17f9419baff1c
+-e73ad1dd652f1e48c7102fe8ee181e54
+-10a160ae255f63fd01db1f29e6efcb8e
++21d94830510107f8753d3b6f3145e01d
++ed37075115afcb0538ecdd8503ee9663
++7218c9ed38d908d594231d7d143c73da
++5055310f89d336da99c8b3dcb18909c7
++9dd44f540670ebc0f120beb7211e9683
++9cb542572c48bfa7ffaa9a22cb8304b7
++869b92f4442918e598745bb78ac8877f
++02b00a7cdef3f2446c130d39a7c45126
++9ef399fd6029cdfc80a7c604041312ab
++0a969bc906bdee6e6d707afdcbe8c7fb
++97beb66049c3d328340775025433ceba
++1e38008a826cf92443d903106199373b
++dadd9c2c735cf481e580db4e81b99f12
++e3f46b6159c687cd1b9e689f7712573c
++0f02735a45573dfb5cd55cf464942389
++2c7e91f439bdd7337a8ceebd302cfbfa
+ -----END OpenVPN Static key V1-----
+--
+2.34.1
+
deleted file mode 100644
@@ -1,49 +0,0 @@
-From 2c1de0f0803360c0a6408f754066bd3a6fb28237 Mon Sep 17 00:00:00 2001
-From: Lev Stipakov <lstipakov@gmail.com>
-Date: Tue, 19 Mar 2024 17:16:07 +0200
-Subject: [PATCH] interactive.c: disable remote access to the service pipe
-
-Remote access to the service pipe is not needed and might
-be a potential attack vector.
-
-For example, if an attacker manages to get credentials for
-a user which is the member of "OpenVPN Administrators" group
-on a victim machine, an attacker might be able to communicate
-with the privileged interactive service on a victim machine
-and start openvpn processes remotely.
-
-CVE: 2024-24974
-
-Microsoft case number: 85925
-
-Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
-Change-Id: I8739c5f127e9ca0683fcdbd099dba9896ae46277
-Signed-off-by: Lev Stipakov <lev@openvpn.net>
-Acked-by: Heiko Hund <heiko@openvpn.net>
-Message-Id: <20240319151723.936-2-lev@openvpn.net>
-URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28419.html
-Signed-off-by: Gert Doering <gert@greenie.muc.de>
-
-CVE:CVE-2024-24974
-Upstream-Status: Backport [https://github.com/OpenVPN/openvpn/commit/2c1de0f0803360c0a6408f754066bd3a6fb28237]
-
-Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
----
- src/openvpnserv/interactive.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c
-index 3b120ae..5e3ff12 100644
---- a/src/openvpnserv/interactive.c
-+++ b/src/openvpnserv/interactive.c
-@@ -1994,7 +1994,7 @@ CreateClientPipeInstance(VOID)
-
- openvpn_sntprintf(pipe_name, _countof(pipe_name), TEXT("\\\\.\\pipe\\" PACKAGE "%s\\service"), service_instance);
- pipe = CreateNamedPipe(pipe_name, flags,
-- PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE,
-+ PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_REJECT_REMOTE_CLIENTS,
- PIPE_UNLIMITED_INSTANCES, 1024, 1024, 0, NULL);
- if (pipe == INVALID_HANDLE_VALUE)
- {
---
-2.40.0
deleted file mode 100644
@@ -1,99 +0,0 @@
-From 989b22cb6e007fd1addcfaf7d12f4fec9fbc9639 Mon Sep 17 00:00:00 2001
-From: Lev Stipakov <lstipakov@gmail.com>
-Date: Tue, 19 Mar 2024 17:27:11 +0200
-Subject: [PATCH] interactive.c: Fix potential stack overflow issue
-When reading message from the pipe, we first peek the pipe to get the size
-of the message waiting to be read and then read the message. A compromised
-OpenVPN process could send an excessively large message, which would result
-in a stack-allocated message buffer overflow.
-
-To address this, we terminate the misbehaving process if the peeked message
-size exceeds the maximum allowable size.
-
-CVE: 2024-27459
-Microsoft case number: 85932
-
-Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
-Change-Id: Ib5743cba0741ea11f9ee62c4978b2c6789b81ada
-Signed-off-by: Lev Stipakov <lev@openvpn.net>
-Acked-by: Heiko Hund <heiko@openvpn.net>
-Message-Id: <20240319152803.1801-2-lev@openvpn.net>
-URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28420.html
-Signed-off-by: Gert Doering <gert@greenie.muc.de>
-
-CVE:CVE-2024-27459
-Upstream-Status: Backport [https://github.com/OpenVPN/openvpn/commit/989b22cb6e007fd1addcfaf7d12f4fec9fbc9639]
-
-Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
----
- src/openvpnserv/interactive.c | 34 +++++++++++++++++++++-------------
- 1 file changed, 21 insertions(+), 13 deletions(-)
-
-diff --git a/src/openvpnserv/interactive.c b/src/openvpnserv/interactive.c
-index 5e3ff12..f613b99 100644
---- a/src/openvpnserv/interactive.c
-+++ b/src/openvpnserv/interactive.c
-@@ -111,6 +111,18 @@ typedef struct {
- HANDLE device;
- } ring_buffer_handles_t;
-
-+typedef union {
-+ message_header_t header;
-+ address_message_t address;
-+ route_message_t route;
-+ flush_neighbors_message_t flush_neighbors;
-+ block_dns_message_t block_dns;
-+ dns_cfg_message_t dns;
-+ enable_dhcp_message_t dhcp;
-+ register_ring_buffers_message_t rrb;
-+ set_mtu_message_t mtu;
-+ wins_cfg_message_t wins;
-+} pipe_message_t;
-
- static DWORD
- AddListItem(list_item_t **pfirst, LPVOID data)
-@@ -1444,18 +1456,7 @@ static VOID
- HandleMessage(HANDLE pipe, HANDLE ovpn_proc, ring_buffer_handles_t *ring_buffer_handles,
- DWORD bytes, DWORD count, LPHANDLE events, undo_lists_t *lists)
- {
-- DWORD read;
-- union {
-- message_header_t header;
-- address_message_t address;
-- route_message_t route;
-- flush_neighbors_message_t flush_neighbors;
-- block_dns_message_t block_dns;
-- dns_cfg_message_t dns;
-- enable_dhcp_message_t dhcp;
-- register_ring_buffers_message_t rrb;
-- set_mtu_message_t mtu;
-- } msg;
-+ pipe_message_t msg;
- ack_message_t ack = {
- .header = {
- .type = msg_acknowledgement,
-@@ -1465,7 +1466,7 @@ HandleMessage(HANDLE pipe, HANDLE ovpn_proc, ring_buffer_handles_t *ring_buffer_
- .error_number = ERROR_MESSAGE_DATA
- };
-
-- read = ReadPipeAsync(pipe, &msg, bytes, count, events);
-+ DWORD read = ReadPipeAsync(pipe, &msg, bytes, count, events);
- if (read != bytes || read < sizeof(msg.header) || read != msg.header.size)
- {
- goto out;
-@@ -1884,6 +1885,13 @@ RunOpenvpn(LPVOID p)
- break;
- }
-
-+ if (bytes > sizeof(pipe_message_t))
-+ {
-+ /* process at the other side of the pipe is misbehaving, shut it down */
-+ MsgToEventLog(MSG_FLAGS_ERROR, TEXT("OpenVPN process sent too large payload length to the pipe (%lu bytes), it will be terminated"), bytes);
-+ break;
-+ }
-+
- HandleMessage(ovpn_pipe, proc_info.hProcess, &ring_buffer_handles, bytes, 1, &exit_event, &undo_lists);
- }
-
---
-2.40.0
deleted file mode 100644
@@ -1,119 +0,0 @@
-From aaea545d8a940f761898d736b68bcb067d503b1d Mon Sep 17 00:00:00 2001
-From: Lev Stipakov <lstipakov@gmail.com>
-Date: Tue, 19 Mar 2024 15:53:45 +0200
-Subject: [PATCH] win32: Enforce loading of plugins from a trusted directory
-
-Currently, there's a risk associated with allowing plugins to be loaded from
-any location. This update ensures plugins are only loaded from a trusted
-directory, which is either:
-
- - HKLM\SOFTWARE\OpenVPN\plugin_dir (or if the key is missing,
- then HKLM\SOFTWARE\OpenVPN, which is installation directory)
-
- - System directory
-
-Loading from UNC paths is disallowed.
-
-Note: This change affects only Windows environments.
-
-CVE: 2024-27903
-
-Change-Id: I154a4aaad9242c9253a64312a14c5fd2ea95f40d
-Reported-by: Vladimir Tokarev <vtokarev@microsoft.com>
-Signed-off-by: Lev Stipakov <lev@openvpn.net>
-Acked-by: Selva Nair <selva.nair@gmail.com>
-Message-Id: <20240319135355.1279-2-lev@openvpn.net>
-URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28416.html
-Signed-off-by: Gert Doering <gert@greenie.muc.de>
-
-CVE:CVE-2024-27903
-Upstream-Status: Backport [https://github.com/OpenVPN/openvpn/commit/aaea545d8a940f761898d736b68bcb067d503b1d]
-
-Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
----
- src/openvpn/plugin.c | 18 +++++++++++++++---
- src/openvpn/win32.c | 21 +++++++++------------
- 2 files changed, 24 insertions(+), 15 deletions(-)
-
-diff --git a/src/openvpn/plugin.c b/src/openvpn/plugin.c
-index ed5d7c0..f7315f4 100644
---- a/src/openvpn/plugin.c
-+++ b/src/openvpn/plugin.c
-@@ -279,11 +279,23 @@ plugin_init_item(struct plugin *p, const struct plugin_option *o)
-
- #else /* ifndef _WIN32 */
-
-- rel = !platform_absolute_pathname(p->so_pathname);
-- p->module = LoadLibraryW(wide_string(p->so_pathname, &gc));
-+ WCHAR *wpath = wide_string(p->so_pathname, &gc);
-+ WCHAR normalized_plugin_path[MAX_PATH] = {0};
-+ /* Normalize the plugin path, converting any relative paths to absolute paths. */
-+ if (!GetFullPathNameW(wpath, MAX_PATH, normalized_plugin_path, NULL))
-+ {
-+ msg(M_ERR, "PLUGIN_INIT: could not load plugin DLL: %ls. Failed to normalize plugin path.", wpath);
-+ }
-+
-+ if (!plugin_in_trusted_dir(normalized_plugin_path))
-+ {
-+ msg(M_FATAL, "PLUGIN_INIT: could not load plugin DLL: %ls. The DLL is not in a trusted directory.", normalized_plugin_path);
-+ }
-+
-+ p->module = LoadLibraryW(normalized_plugin_path);
- if (!p->module)
- {
-- msg(M_ERR, "PLUGIN_INIT: could not load plugin DLL: %s", p->so_pathname);
-+ msg(M_ERR, "PLUGIN_INIT: could not load plugin DLL: %ls", normalized_plugin_path);
- }
-
- #define PLUGIN_SYM(var, name, flags) dll_resolve_symbol(p->module, (void *)&p->var, name, p->so_pathname, flags)
-diff --git a/src/openvpn/win32.c b/src/openvpn/win32.c
-index e91e742..1e61ffa 100644
---- a/src/openvpn/win32.c
-+++ b/src/openvpn/win32.c
-@@ -1532,27 +1532,24 @@ openvpn_swprintf(wchar_t *const str, const size_t size, const wchar_t *const for
- return (len >= 0 && len < size);
- }
-
--static BOOL
--get_install_path(WCHAR *path, DWORD size)
-+bool
-+get_openvpn_reg_value(const WCHAR *key, WCHAR *value, DWORD size)
- {
- WCHAR reg_path[256];
-- HKEY key;
-- BOOL res = FALSE;
-+ HKEY hkey;
- openvpn_swprintf(reg_path, _countof(reg_path), L"SOFTWARE\\" PACKAGE_NAME);
-
-- LONG status = RegOpenKeyExW(HKEY_LOCAL_MACHINE, reg_path, 0, KEY_READ, &key);
-+ LONG status = RegOpenKeyExW(HKEY_LOCAL_MACHINE, reg_path, 0, KEY_READ, &hkey);
- if (status != ERROR_SUCCESS)
- {
-- return res;
-+ return false;
- }
-
-- /* The default value of REG_KEY is the install path */
-- status = RegGetValueW(key, NULL, NULL, RRF_RT_REG_SZ, NULL, (LPBYTE)path, &size);
-- res = status == ERROR_SUCCESS;
-+ status = RegGetValueW(hkey, NULL, key, RRF_RT_REG_SZ, NULL, (LPBYTE)value, &size);
-
-- RegCloseKey(key);
-+ RegCloseKey(hkey);
-
-- return res;
-+ return status == ERROR_SUCCESS;
- }
-
- static void
-@@ -1561,7 +1558,7 @@ set_openssl_env_vars()
- const WCHAR *ssl_fallback_dir = L"C:\\Windows\\System32";
-
- WCHAR install_path[MAX_PATH] = { 0 };
-- if (!get_install_path(install_path, _countof(install_path)))
-+ if (!get_openvpn_reg_value(NULL, install_path, _countof(install_path)))
- {
- /* if we cannot find installation path from the registry,
- * use Windows directory as a fallback
---
-2.40.0
new file mode 100644
Binary files /dev/null and b/meta-networking/recipes-support/openvpn/openvpn/client.p12.tar.gz differ
similarity index 88%
rename from meta-networking/recipes-support/openvpn/openvpn_2.5.6.bb
rename to meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
@@ -2,7 +2,7 @@ SUMMARY = "A full-featured SSL VPN solution via tun device."
HOMEPAGE = "https://openvpn.net/"
SECTION = "net"
LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b76abd82c14ee01cc34c4ff5e3627b89"
+LIC_FILES_CHKSUM = "file://COPYING;md5=132de9241e3147d49dbaead12acb0b22"
DEPENDS = "lzo openssl iproute2 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
inherit autotools systemd update-rc.d
@@ -11,14 +11,14 @@ SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
file://openvpn \
file://openvpn@.service \
file://openvpn-volatile.conf \
- file://CVE-2024-24974.patch \
- file://CVE-2024-27459.patch \
- file://CVE-2024-27903.patch \
+ file://0001-sample-keys-renew-for-the-next-10-years.patch \
+ file://client.p12.tar.gz;subdir=${BP}/sample/sample-keys;name=client \
"
UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads"
-SRC_URI[sha256sum] = "333a7ef3d5b317968aca2c77bdc29aa7c6d6bb3316eb3f79743b59c53242ad3d"
+SRC_URI[sha256sum] = "7e2672119bd4639819d560f332a8b9b7e28f562425c77899f36d419fe4265f56"
+SRC_URI[client.sha256sum] = "439c9371e3d21497fde81e05ab03ae3c14aedbec1bc555d013bb260e864a7ef9"
# CVE-2020-7224 and CVE-2020-27569 are for Aviatrix OpenVPN client, not for openvpn.
CVE_CHECK_IGNORE += "CVE-2020-7224 CVE-2020-27569"