Skip to content

Instantly share code, notes, and snippets.

View mjaliz's full-sized avatar
🎯
Focusing

MohammadJavad Alizadeh mjaliz

🎯
Focusing
View GitHub Profile
@seebk
seebk / README.md
Last active July 23, 2024 22:43
Extract embedded certificates and keys from OpenVPN config files

This python script is intended to automate the extraction of embedded certificates and keys from OpenVPN config files.

Unfortunately the GNOME Network-Manager is not able to automatically import OpenVPN config files with embedded certificates and keys. A workaround is to manually extract these and store them in separate files (e.g. see https://naveensnayak.wordpress.com/2013/03/04/ubuntu-openvpn-with-ovpn-file/).

Instructions:

  • Make shure all the required packages are installed. For example on Ubuntu and Debian run:

    $ sudo apt-get install python3 network-manager-openvpn-gnome