I cannot find a way to solve my problem.
I installed OpenVPN AS on a VPS server. I try to configure a router with DD-WRT OS to use OpenVPN client on it.
OpenVPN AS was installed with basic configuration, i just add a new user "user" with autologin activated.
On my DD-WRT router, i configure the OpenVPN client and i get this error : CA certificate does not have key usage extension.
Logs :
Code: Select all
20200604 21:52:40 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20200604 21:52:40 I TCP/UDP: Preserving recently used remote address: [AF_INET]192.99.245.185:1194
20200604 21:52:40 Socket Buffers: R=[180224->180224] S=[180224->180224]
20200604 21:52:40 I UDPv4 link local: (not bound)
20200604 21:52:40 I UDPv4 link remote: [AF_INET]192.99.245.185:1194
20200604 21:52:40 TLS: Initial packet from [AF_INET]192.99.245.185:1194 sid=eb13b1f7 408aafc7
20200604 21:52:41 VERIFY OK: depth=1 CN=OpenVPN CA
20200604 21:52:41 N Certificate does not have key usage extension
20200604 21:52:41 VERIFY KU ERROR
20200604 21:52:41 N OpenSSL: error:1416F086:lib(20):func(367):reason(134)
20200604 21:52:41 N TLS_ERROR: BIO read tls_read_plaintext error
20200604 21:52:41 N TLS Error: TLS object -> incoming plaintext read error
20200604 21:52:41 NOTE: --mute triggered...
20200604 21:52:41 1 variation(s) on previous 3 message(s) suppressed by --mute
20200604 21:52:41 I SIGUSR1[soft tls-error] received process restarting
20200604 21:52:41 Restart pause 300 second(s)
20200604 21:54:35 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200604 21:54:35 D MANAGEMENT: CMD 'state'
20200604 21:54:35 MANAGEMENT: Client disconnected
20200604 21:54:35 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200604 21:54:35 D MANAGEMENT: CMD 'state'
20200604 21:54:35 MANAGEMENT: Client disconnected
20200604 21:54:35 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200604 21:54:35 D MANAGEMENT: CMD 'state'
20200604 21:54:35 MANAGEMENT: Client disconnected
20200604 21:54:35 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200604 21:54:35 D MANAGEMENT: CMD 'status 2'
20200604 21:54:35 MANAGEMENT: Client disconnected
20200604 21:54:35 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200604 21:54:35 D MANAGEMENT: CMD 'log 500'
Thanks