problemas openvpn

Iniciado por lookings, Agosto 07, 2019, 06:35:33 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Agosto 07, 2019, 06:35:33 AM Ultima modificación: Agosto 07, 2019, 08:21:17 AM por Denisse
Cuando intento conectarme desde un cliente windows a openvpn en una ubuntu server 16 me sale el siguiente error:
Wed Aug 07 11:23:16 2019 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 25 2019
Wed Aug 07 11:23:16 2019 Windows version 6.1 (Windows 7) 64bit
Wed Aug 07 11:23:16 2019 library versions: OpenSSL 1.1.0j  20 Nov 2018, LZO 2.10
Enter Management Password:
Wed Aug 07 11:23:16 2019 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Aug 07 11:23:16 2019 Need hold release from management interface, waiting...
Wed Aug 07 11:23:17 2019 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'state on'
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'log all on'
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'echo all on'
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'bytecount 5'
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'hold off'
Wed Aug 07 11:23:17 2019 MANAGEMENT: CMD 'hold release'
Wed Aug 07 11:23:17 2019 MANAGEMENT: Client disconnected
Wed Aug 07 11:23:17 2019 Insufficient key material or header text not found in file 'client1.key' (0/128/256 bytes found/min/max)
Wed Aug 07 11:23:17 2019 Exiting due to fatal error

¿Alguna idea o ayuda?, entiendo que la llave no esta bien pero es la generada por el server.

Hola @You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login.

El error es:
Wed Aug 07 11:23:17 2019 Insufficient key material or header text not found in file 'client1.key' (0/128/256 bytes found/min/max)

Deberías verificar en el servidor:
- La ruta donde están guardados los archivos .crt y .key
Y en el cliente de windows:
- Archivos .crt .key en rutas correctas
- Archivo de configuración .ovpn correcto.

Sería interesante, que brindes más información sobre todo, la configuración que utilizas.

Un material muy util para una correcta configuración:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Un saludo .!