cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6386
Views
0
Helpful
5
Replies

Cisco AnyConnect Client - Specify Cert Store in Profile

Jason Nash
Level 1
Level 1

Hi All,

Running Cisco AnyConnect Client version 2.5.2019 with Cisco ASA 5510 version 8.4(1)

I cannot seem to get the Certificate Store profile option to work (see attached image). I am setting this to user, when this is set it correctly propagates to the client as you can see it in the configuration file on the client machine but it does not seem to take effect.

When a user is logged in who has admin rights, and so access to both the local machine and user stores, it incorrectly takes a certificate from the local machine store. I know there is a valid cert in the user store for these users as if I delete the local machine cert it then takes the user cert.

No problem for users without admin rights as they don't have access to the local machine store.

Anyone have any ideas why this does not work?

Jason

1 Accepted Solution

Accepted Solutions

Hi Jason

it sounds as if the ASA is actually still pushing the old profile to the client.

From the CLI, check:

dir cache:/stc/profiles

more cache:/stc/profiles/

I guess that this will show you the old profile.

How did you modify it exactly? Using the profile editor in ASDM? Did you push "apply" afterwards, did you get any errors?

In any case, use "more disk0:" to verify that the profile on flash is correct (i.e. that it does have the serverlist), then force the ASA to re-load that file using:

conf t

webvpn
svc profiles disk0:/

Then check "more cache:/stc/profiles/" again to verify it it took it.

hth

Herbert

View solution in original post

5 Replies 5

Herbert Baerten
Cisco Employee
Cisco Employee

Jason,

if you still need help with this: verify in the event log whether or not it is actually using the profile, my guess is it is not (it will say something like "no profile available for host ).

When you connect, the client will search all of its profiles (you can have more than one in your profiles directory) for one that has a host entry that matches the name/hostname/ip address that you are trying to connect to. If none of the profiles has a matching host entry, it will use default settings (which for cert store, I believe is "all" - you'll see that in the eventlog as well).

So my guess (obviously without seeing the logs it's just a guess) is that you should go to the "Server List" page in the profile editor and add an entry there.

hth

Herbert

Sounds like a plan, I don't have anything in the 'Server List Entry' page so this sounds like it could be the cause. I will give this a go and come back to you.

Thanks Herbert.

Jason Nash
Level 1
Level 1

Hi Herbert,

You are quite right the event log does indicate that the profile is not found. I was also missing the entry in the server list. I have since gone in and added this but I still cannot seem to get this working. When I export the profile from ASDM I can see the server host entries but in the profile which is downloaded to the client this are not there,

I know the most recent profile is going down to the client as if I delete it is recreated. The whole server list section as below is missing but it does show on the exported version.

           

                  xxxx.yyy.org.uk

                  xxxx.yyy.org.uk

           

     

Any ideas?

Jason

Hi Jason

it sounds as if the ASA is actually still pushing the old profile to the client.

From the CLI, check:

dir cache:/stc/profiles

more cache:/stc/profiles/

I guess that this will show you the old profile.

How did you modify it exactly? Using the profile editor in ASDM? Did you push "apply" afterwards, did you get any errors?

In any case, use "more disk0:" to verify that the profile on flash is correct (i.e. that it does have the serverlist), then force the ASA to re-load that file using:

conf t

webvpn
svc profiles disk0:/

Then check "more cache:/stc/profiles/" again to verify it it took it.

hth

Herbert

Thanks Herbert! That did the trick. I amended the profile in ASDM and I am pretty sure I clicked apply, I don't recall any errors. It seemed to be incorrect in the cache but fine on flash, the commands you provided resolved the issue. It is now picking up the correct certificate.

Thanks again

Jason