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
Quote from: Monviech (Cedrik) on January 07, 2026, 07:03:30 PMOne of you could open an issue on github and how to reproduce this issue:
https://github.com/opnsense/core/issues
Doing that now.
Thanks, some progress in the ticket now: https://github.com/opnsense/core/issues/9601
# opnsense-patch https://github.com/opnsense/core/commit/00687dbe
Mea culpa :)
Quote from: franco on January 09, 2026, 11:57:05 AM# opnsense-patch https://github.com/opnsense/core/commit/00687dbe
Mea culpa :)
Thanks Franco,
I had to go to https://github.com/opnsense/core/issues/9601 to find the way to apply the patch but opnsense-patch 00687dbeb548 worked like a charm.
Have a nice day
Nice, it's also in 25.7.11 now by default.
Cheers,
Franco