GNOME Bugzilla – Bug 705792
Support for inline ca/key/cert
Last modified: 2015-05-29 05:49:15 UTC
Would be cool if NetworkManager adds support for inline ca/key/cert. OpenVPN supports client configuration where you just need one file. the file looks like: ... ca [inline] key [inline] cert [inline] <ca> -----BEGIN CERTIFICATE----- XYZ -----END CERTIFICATE----- </ca> <cert> XYZ </cert> <key> -----BEGIN PRIVATE KEY----- XYZ -----END PRIVATE KEY----- </key>
From OpenVPN web: https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage#lbAV INLINE FILE SUPPORT OpenVPN allows including files in the main configuration for the --ca, --cert, --dh, --extra-certs, --key, --pkcs12, --secret and --tls-auth options. Each inline file started by the line <option> and ended by the line </option> Here is an example of an inline file usage <cert> -----BEGIN CERTIFICATE----- [...] -----END CERTIFICATE----- </cert> When using the inline file feature with --pkcs12 the inline file has to be base64 encoded. Encoding of a .p12 file into base64 can be done for example with OpenSSL by running openssl base64 -in input.p12
this is already reported *** This bug has been marked as a duplicate of bug 633337 ***