Question : Can not install certificate in local VPN client

Hello,
We have a Cisco ASA 5510 handling VPN with certificates from a Microsoft 2003 Standard Server with a Standalone CA server configured on it. A few weeks ago our cert on our ASA expired against the CA server and we reapplied for a new cert to the ASA. Users who still have a valid cert against our CA server can use these certs to authenticate to VPN and gain access. So that's good but the bad news is if your cert expired, you can not reapply for a certificate nor can a brand new system apply for a certificate. Like I said, we can run existing certs against the ASA and I know that creating a group auth account works (which has been the work around for the time being for the expired cert users).

If I try to do SCEP enrollment via http, I get an "Error 42: Unable to create certificate enrollment request." From Cisco's site, this is what the error means "Description or Action:
The VPN Client was unable to create an enrollment request to enroll the certificate with a certificate authority."

If I try it via creating a cert file enrollment on the client, enrolling manually through the CA and export out a file to import into the VPN client, I get "Error 39: Unable to import certificate." which this description is "Description or Action: The VPN Client was unable to import the certificate. The file path for the certificate may be incorrect or there may be a problem with the file system."

Below in the code snippets, I'll put the 2 separate logs from the client when I try to do it's respective action.

Any and all help is great appreciated.
Brett
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
Error 42 Logs:
Cisco Systems VPN Client Version 4.9.01.0180
Copyright (C) 1998-2009 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Mac OS X
Running on: Darwin 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
 
11627  16:15:34.216  07/10/2009  Sev=Debug/7	GUI/0x43B0000B
The value for vpnclient.ini variable KeySize is 2048.
 
11628  16:16:09.830  07/10/2009  Sev=Warning/3	CERT/0x83600019
Unexpected end of Header.
 
11629  16:16:09.899  07/10/2009  Sev=Info/4	CERT/0x43600021
Setting key size of 2048 for pkcs10 request.
 
11630  16:16:14.114  07/10/2009  Sev=Info/5	CERT/0x43600001
Success: enveloped message.
 
11631  16:16:14.297  07/10/2009  Sev=Info/5	CERT/0x43600001
Success: signed message.
 
11632  16:16:14.297  07/10/2009  Sev=Info/5	CERT/0x43600001
Success: Encrypted and Signed PKCS request message.
 
11633  16:16:14.519  07/10/2009  Sev=Warning/3	CERT/0x83600019
Unexpected end of Header.
 
11634  16:16:14.524  07/10/2009  Sev=Info/4	CERT/0x43600006
Success for: CEP response VERIFY.
 
11635  16:16:14.524  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'MessageType' was '3'.
 
11636  16:16:14.524  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'PKIStatus' was '2'.
 
11637  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'FailInfo' was 'Transaction not permitted or supported'.
 
11638  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'ContentType' was '2A864886F70D010701'.
 
11639  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'MessageDigest' was '93B885ADFE0DA089CDF634904FD59F71'.
 
11640  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'SenderNonce' was 'F39D48864F6D524DA185D92136449384'.
 
11641  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'RecipientNonce' was 'CC0266EF8FA1C25F6826137875F67301'.
 
11642  16:16:14.525  07/10/2009  Sev=Info/6	CERT/0x4360000B
CEP response Attribute 'TransactionID' was '6DC93532E93DBFDEF554B21C111F3656'.
 
11643  16:16:14.525  07/10/2009  Sev=Info/4	CERT/0x43600001
CEP received message type is '3'.
CertRep pkiStatus is '2'.
CertRep failInfo is '2'.
 
 
11644  16:16:14.525  07/10/2009  Sev=Info/4	CERT/0x43600008
Certificate request failed with reason 'Transaction not permitted or supported'.
 
11645  16:16:14.525  07/10/2009  Sev=Info/4	CERT/0x43600009
Deleting request and corresponding public/private keys.
 
11646  16:16:14.528  07/10/2009  Sev=Info/4	CERT/0x4360000A
CEP response state was: 'FAILURE'.
 
 
 
 
 
Error 39 Logs:
Cisco Systems VPN Client Version 4.9.01.0180
Copyright (C) 1998-2009 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Mac OS X
Running on: Darwin 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
 
11647  16:16:59.691  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportMyCertAndKey: 1798
 
11648  16:16:59.692  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertFromPkcs12File fail: 1797
 
11649  16:16:59.692  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795
 
11650  16:16:59.692  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - BCert_ImportDERFile fail: 1795
 
11651  16:16:59.692  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795
 
11652  16:16:59.692  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795
 
11653  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportMyCertAndKey: 1798
 
11654  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertFromPkcs12File fail: 1797
 
11655  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795
 
11656  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - BCert_ImportDERFile fail: 1795
 
11657  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795
 
11658  16:16:59.693  07/10/2009  Sev=Warning/3	CERT/0x8360000C
Certificate import failed - ImportCertsFromPkcs7File fail: 1795

Answer : Can not install certificate in local VPN client

Sorry for not following up.

The ASA is not in the path for the request for the certificate. We have the client computer inside our network and request the cert directly from the CA server.

What we ended up doing was reinstalling the SCEP web plugin software on the CA server and it worked again after that. Also, we did not have the CA server as part of our AD IIS_WPG security group. Once added and the reinstall, we're back in business.
Random Solutions  
 
programming4us programming4us