Re: OpenVPN 2.4 and pure elliptic curve crypto setup
Posted: Mon Jul 17, 2017 6:03 pm
i am sure not:) the length is not random. I don't know. but i will check my setup
Community Support Forum
https://forums.openvpn.net/
Code: Select all
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
ef:a6:69:ed:bf:7a:a6:ab
Signature Algorithm: ecdsa-with-SHA256
Issuer: CN = EC-test
Validity
Not Before: Jul 17 11:49:37 2017 GMT
Not After : Jul 15 11:49:37 2027 GMT
Subject: CN = EC-test
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (521 bit)
pub:
04:01:eb:b0:d8:3f:1b:b9:b9:9e:70:55:5f:c4:f9:
91:ce:04:44:6f:7f:a1:1e:13:e1:1e:c2:a8:f5:79:
07:e8:d5:46:bc:ab:9e:15:a6:92:41:86:4f:89:a4:
56:7c:20:d8:8f:94:ca:cf:80:ad:85:ba:4c:50:10:
6d:c0:28:61:c2:09:20:00:ea:18:7a:77:f0:25:c8:
50:7b:4d:d3:fd:6e:af:50:c8:5a:af:ff:3c:36:58:
f2:1a:04:c4:90:be:3a:7f:c2:29:b9:03:96:de:72:
b1:ab:11:29:83:46:05:6b:e6:e8:a5:a1:71:60:a3:
87:94:b3:47:92:6d:ec:92:79:bc:65:ff:2d
ASN1 OID: secp521r1
NIST CURVE: P-521
X509v3 extensions:
X509v3 Subject Key Identifier:
FA:7D:53:E5:FF:68:64:75:FE:6F:76:56:F6:41:B5:A9:FF:37:DA:C9
X509v3 Authority Key Identifier:
keyid:FA:7D:53:E5:FF:68:64:75:FE:6F:76:56:F6:41:B5:A9:FF:37:DA:C9
DirName:/CN=EC-test
serial:EF:A6:69:ED:BF:7A:A6:AB
X509v3 Basic Constraints:
CA:TRUE
X509v3 Key Usage:
Certificate Sign, CRL Sign
Signature Algorithm: ecdsa-with-SHA256
30:81:87:02:42:01:9b:98:7a:80:15:6c:a6:f2:ba:b8:c3:11:
eb:8b:f5:10:31:78:65:ef:97:0f:0b:eb:19:5b:64:fb:2e:2c:
79:a3:da:2d:a3:57:ad:b9:50:28:fa:a6:d5:63:ab:a8:22:63:
d5:06:bc:fd:46:a5:45:73:66:e7:cc:01:89:f2:cc:03:35:02:
41:31:89:c1:3f:21:e9:29:74:ce:a8:64:2d:46:21:7d:77:4b:
d6:b6:13:2f:c2:46:00:34:86:f5:fb:20:9c:ed:d9:4e:be:02:
56:c1:0d:bc:33:58:46:7f:78:94:57:a5:8b:9d:28:7d:a7:9d:
e4:42:06:43:8b:cd:1e:d3:80:ea:12:c2
ExecStart=/usr/local/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
Code: Select all
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
Code: Select all
checking for libsystemd... no
checking for libsystemd... no
configure: error: Package requirements (libsystemd-daemon) were not met:
No package 'libsystemd-daemon' found
Code: Select all
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
Code: Select all
ExecStart=/usr/local/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
The openvpn -> systemd code ensures that openvpn correctly notifies systemd of success or failure (It is a little more complicated than that because only specific use cases caused any error which is probably why you do not notice any difference).matt3226 wrote:What's the point of recompiling it so that systemd is enabled?