18

What is the default location of Cisco VPN client profiles? I need those .pcf files since my old Cisco VPN client doesn't work after upgrading to Mac OS X Leopard (version 10.5), and I don't remember my VPN settings.

2
  • Is the old Mac using the Cisco provided client?
    – bahamat
    Jan 29, 2011 at 17:11
  • 3
    Google brought me here when searching for the location in Windows 7. It is C:\ProgramData\Cisco\Cisco AnyConnect Secure Mobility Client\Profile.
    – Abdull
    Apr 10, 2016 at 14:24

4 Answers 4

-1

If I remember it right, they should be located in /etc/CiscoSystemsVPNClient/Profiles/ (you can open this folder from Finder´s Go To -> Go to Folder menu)

1
  • 4
    Not the answer see below with 39 up votes Dec 18, 2018 at 15:23
62

If, like me, you arrived here looking for the Cisco AnyConnect profile location, I found my config information at

/opt/cisco/anyconnect

I wanted this to be a comment on the accepted answer, but I bumped into the rep limit. If a mod wants to move this to the comments of the accepted answer, be my guest!

3
  • Exactly where it was for me too, thx.
    – Justin
    Nov 28, 2014 at 17:13
  • for anyconnect 4 the profile files are XML
    – kavehmb
    Mar 16, 2016 at 1:06
  • still the correct answer on macOS Catalina in 2021 Mar 22, 2021 at 16:01
2

Open a terminal and search for it (go ahead to the next line if the previous one doesn't find anything):

find ./Library -name '*.pcf'
find . -name '*.pcf'
find / -name '*.pcf'

If you don't find anything, check the Library folder inside your home directory. I think the Cisco client might import the settings and store it in some other format (or at least in another file) inside the Library or Library/Preferences folder.

0

Path in Mac: /opt/cisco/secureclient/bin/vpn

Sample command for connecting in terminal

$ cat ~/cisco_vpn.pvt | /opt/cisco/secureclient/bin/vpn -s connect <VPN_URL>

$ cat ~/cisco_vpn.pvt
<user_name>
<Password>
y

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .