|Applies To||RSA BSAFE Cert-C|
|Issue||C_BuildCertPath returns 0x750 during chain validation with the validate.exe sample program|
When running the sample program validate.exe to show details about a certificate hierarchy the program finishes with the error:
***ERROR 0x0750: during validate
When you step through the code with a debugger (such as Microsoft Visual Studio), the example program fails when the C_BuildCertPath function is executed and returns the given result code.
|Cause||The Certificate has either expired or is not yet valid.|
|Resolution||The fix, in this instance, is obviously to use a certificate with a valid date. |
The theory can be tested to confirm that you have this problem simply by altering the clock on the machine where you are running the sample program. There are many reasons why the function may fail (and give this error code), this is just one example.
The 0x750 error code, E_PATH_NOT_FOUND, can be returned for multiple reasons. To aid in debugging, one strategy is to register the file log provider and examine the output. If output is produced by the log provider, it will point you to lines of code in the provider code (provider source is shipped with the object library distribution in the provider/path/pkix directory). The output may also contain one of the reason codes, which are listed in the include/pkixpath.h header file, for more specific information.
|Legacy Article ID||a4638|