概要
VPS上でOpenVPNを動かしているのですが、
OpenVPN GUIにovpnファイルをインポートし接続しようとするとエラーが発生します。
insufficient key material or header text not found in file '[[INLINE]]' (0/128/256 bytes found/min/max)
ログ
2022-08-24 09:21:06 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2022-08-24 09:21:06 OpenVPN 2.5.7 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on May 27 2022 2022-08-24 09:21:06 Windows version 10.0 (Windows 10 or greater) 64bit 2022-08-24 09:21:06 library versions: OpenSSL 1.1.1o 3 May 2022, LZO 2.10 2022-08-24 09:21:06 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340 2022-08-24 09:21:06 Need hold release from management interface, waiting... 2022-08-24 09:21:06 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340 2022-08-24 09:21:06 MANAGEMENT: CMD 'state on' 2022-08-24 09:21:06 MANAGEMENT: CMD 'log all on' 2022-08-24 09:21:06 MANAGEMENT: CMD 'echo all on' 2022-08-24 09:21:06 MANAGEMENT: CMD 'bytecount 5' 2022-08-24 09:21:06 MANAGEMENT: CMD 'hold off' 2022-08-24 09:21:06 MANAGEMENT: CMD 'hold release' 2022-08-24 09:21:06 MANAGEMENT: Client disconnected 2022-08-24 09:21:06 Insufficient key material or header text not found in file '[[INLINE]]' (0/128/256 bytes found/min/max) 2022-08-24 09:21:06 Exiting due to fatal error
ovpnファイル
client dev tun proto udp remote XXX.XXX.XXX.XXX 1194 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server auth SHA512 cipher AES-256-CBC ignore-unknown-option block-outside-dns block-outside-dns verb 3 <ca> -----BEGIN CERTIFICATE----- XXXXXXX -----END CERTIFICATE----- </ca> <cert> -----BEGIN CERTIFICATE----- XXXXXXX -----END CERTIFICATE----- </cert> <key> -----BEGIN PRIVATE KEY----- XXXXXXXX -----END PRIVATE KEY----- </key> <tls-crypt> </tls-crypt>
環境
windows11
OpenVPN2.5.7
VPNサーバーの構築スクリプト:https://github.com/Nyr/openvpn-install
UDP,1194,current system resolvers
server.confにはduplicate-cnを追加しました
回答1件
あなたの回答
tips
プレビュー