OPENVPN Export Archive 0 bytes

Started by myksto, December 30, 2025, 05:03:28 PM

Previous topic - Next topic
I posted this thread in another section but maybe I should have posted it here.
Well, OPNsense 25.7.10-amd64
Today I tried to export OpenVPN in archive mode in: VPN -> OpenVPN -> Client Export but every user I try to export is a 0 byte zip file.
How can I solve this?
If I export using other options (File Only, Viscosity, ecc.) everything is ok.

Thanks,
Michele.

I try to put this thread Up hoping someone will try to give an answer.
Thanks,
Michele

I have been having the same issue, I posted about it a couple days ago.

I did a work around for it. I use a protectli FW6 for mine, so I took another one I have and installed OpnSense(25.7) on the new one, then restored the configuration from the old one onto the new one, then exported from the new one successfully. I then used that export to connect to the old one through openvpn. The only slight issue had was that I couldn't see the legacy Server Instances on the new one, but I could export for them.

I was planning replacing the hardware on my current one in the fall, but I am moving that up and will be replacing it sooner and putting a new one in place with a new set of everything but not going beyond 25.7 until I can test more on the export functionality.

I have the same issue.
The export is empty. If I export the file and not the archive then I get the ovpn file.
I exported the certificate from the user. So I got the p12 file
How to get the UserName-tls.key needed for openvpn?

seems the TLS.key is the same for all users.
So as a work around we will export the users p12 certificate and duplicate the tls.key

One of you could open an issue on github and how to reproduce this issue:

https://github.com/opnsense/core/issues
Hardware:
DEC740