Bash script to merge/split OVPN files. Open VPN config file (.ovpn) contains several certificates and key files which are required for the setup. This script allows you to merge those certificates and keys into single config file. The script can also be used to split a single self-contained ovpn config file to individual config and cert files.
After a successful merge these lines are added to the config file:
Script run example:
Both OpenVPN GUI and OpenVPN Connect fail to parse it. Fixed it by removing or commenting them. Am I doing something wrong or is it a bug?
Thank you.