Re: C++ problem trying to use a certificate? Can (General questions)
Hi,
I realized that I needed to catch the exception after my last post. [:doh:]
The error I'm getting is 30026 (Failed to load key or certificate. Password invalid?) if I just call
hr = pCert->Load ( c:\certs\client.cer );
or 30007 (Please set login, and password/certificate first.) if I also call
hr = pCert->LoadKey ( c:\certs\client.key );
Note that neither Load() or LoadKey() generates an error, and I'm using the WOD certificates & keys.
I'm using your SmallServer FTP server which has loaded the corresponding server certs.
Do I need to load both the cert and the priv key to successfully connect?
Thanks,
Tim
Complete thread:
- C++ problem trying to use a certificate? Can't c - timster, 2006-01-11, 00:19
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 00:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 02:12
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 18:42
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 18:44
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 19:14
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 19:48
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 20:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 21:19
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 22:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 22:39
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 23:47
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 23:53
- Re: C++ problem trying to use a certificate? - timster, 2006-01-12, 00:33
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 01:46
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-12, 19:59
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 20:17
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 00:37
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 01:19
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 01:22
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 18:00
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 20:12
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 18:00
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 01:22
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-13, 01:19
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-13, 00:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 20:17
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-12, 19:59
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-12, 01:46
- Re: C++ problem trying to use a certificate? - timster, 2006-01-12, 00:33
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 23:53
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 23:47
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 22:39
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 22:37
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 21:19
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 20:58
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 19:48
- Re: C++ problem trying to use a certificate? Can - timster, 2006-01-11, 19:14
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 18:44
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 18:42
- Re: C++ problem trying to use a certificate? Can - wodSupport, 2006-01-11, 02:12
- Re: C++ problem trying to use a certificate? - timster, 2006-01-11, 00:58