Author Topic: OpenVPN module profile files (like OpenVPN access server)  (Read 182 times)

spalekg

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
OpenVPN module profile files (like OpenVPN access server)
« on: May 09, 2021, 05:47:54 pm »
Hi,

Is it possible that the Zentyal OpenVPN module creates a .ovpn profile file with certificates included inside the single file (not as a bundle with separate files)? Something like OpenVPN AS generating profile files.

Certificate files should be inside the profile file in tags:


<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
....
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
...
-----END OpenVPN Static key V1-----
</tls-auth>


That should be much easier for using and deploying.

Also maybe it will be nice that OpenVPN Connect client can use API (REST or XML-RPC) to obtain profile file from URL (like from OpenVPN AS) on the Zentyal side. With this clients can obtain profiles directly in the OpenVPN Connect app on their devices via URL to API on Zentyal automatically.