Linux

Where Does OpenConnect Store VPN Profiles?

Where OpenConnect keeps profiles and certs on Linux, plus NetworkManager roles. See the folder table below.

Last updated

OpenConnect is AnyConnect compatible VPN with file profiles. Your servers live in NetworkManager connections or config files. Certificates sit beside them.

Same profiles mean same VPNs on any machine with OpenConnect installed. Exact file names shift with vpnc versus NetworkManager builds. Keep keys out of shared copies. For moves, copy profiles plus certificates together. One without the other connects nowhere. Screenshots of settings help when support asks for reproduction steps later. Check the in app storage readout when sizes look wrong on different releases.

Where OpenConnect VPN stores this, by platform

Linux
/etc/NetworkManager/system-connections (profiles plus certs)

Servers live in NetworkManager profiles with certificates beside them. Copy both for moves. Match releases before importing old profiles. Keep keys private.

Frequently asked questions

How do I move OpenConnect profiles to a new machine?

Copy the NetworkManager connection profiles plus client certificates to the new machine over USB. Servers follow profile files. Reinstall the matching release first, since vpnc scripts shift between versions. Keep keys separate from shared copies.

Does OpenConnect back up profiles?

Yes, in NetworkManager profiles per VPN with certificates attached. The client holds a working copy plus log cache. Views rebuild after import. Export connection files from settings for records, since the folder alone is working state.

Notice an outdated path? Let us know.