0
0

More than 3 years have passed since last update.

OpenVPNの「Failed to import profile」の対処法メモ

Last updated at Posted at 2021-05-26

症状

スクリーンショット 2021-05-26 20.21.17.png
「Failed to import profile static_key_parse_error」というエラーが出る

原因

OpenVPNの構築スクリプト(https://github.com/angristan/openvpn-install/)
を動作させる。CentOS8だと、cat: /etc/openvpn/tls-crypt.key: No such file or directoryというエラーが発生する。これにより、不完全な設定ファイルが出来る。

対策

VPNサーバをCentOS7にする

関連

https://unix.stackexchange.com/questions/359428/open-vpn-options-error-tls-auth-fails-with-ta-key-no-such-file-or-director
(原因が違ってた場合に参考になるかも)

参考文献

https://dawaan.com/setting-up-openvpn-in-5-mins/
VPN構築はこちらを参考にしました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0