>> 1. Your YandexExternalCA certificate doesn't have the
>> AuthorityInfoAccess extension, so there is no pointer in the
>> certificate to download the issuing CA's certificate. This is why
>> specifying a [CA Location] is necessary in this case.
>
> Is it, taking into account that GTECyberTrustGlobalRoot is in [Trusted
> directories] already?
That would be sufficient if the Authority Key Identifier in the
YandexExternalCA certificate matched the Subject Key Identifier in the
GTECyberTrustGlobalRoot.
However, the AKI in YandexExternalCA uses the dirName;serial method of
identifying the issuer, and GTE's root doesn't have SKI at all, though
its subject DN and serial do match what was in Yandex's AKI...
However, I have to admit, this is simply a method of matching that
pathfinder doesn't currently support. Which is unfortunate. :-/
However, pathfinder grew out of our own requirements, and certificates
we routinely encounter support AIA-chasing and/or AKI/SKI matching.
> Sep 10 00:17:14 grave (ugid=103:106 pid=3868) pathfinderd: Attempting
> to get signer.
> Sep 10 00:17:14 grave (ugid=103:106 pid=3868) pathfinderd: Open
> 'file:///etc/pki/tls/certs/GTECyberTrustGlobalRoot':
> error:0D07803A:lib(13):func(120):reason(58)
Try without the "file://" prefix, just using /etc/pki/tls/......
>> 3. Even after we fix all that, it seems the GTECyberTrustGlobalRoot
>> self-signed certificate uses an MD5 signature, which pathfinder
>> disallows by default. This can be enabled by setting [Defaults]Allow
>> MD5 = 1 in the config file.
>
> Isn't it reasonable to allow md5 for self-signed certificates without
> allowing it globally as it implies no additional security risk?
Actually yes, I agree with you. I'll make that change when I have
some time. Thanks for the suggestion!
Regards,
-Dave
I can try. I believe it should be possible, but I want to give it
some thought and make sure it gets done right. :) Meanwhile you do
have a workaround.
>> However, pathfinder grew out of our own requirements, and
>> certificates
>> we routinely encounter support AIA-chasing and/or AKI/SKI matching.
>
> It is quite ok for intranet use, but looks like it does not work in
> big bad internet my application lives in :-(
It does handle some quite complicated bridged trust environments (even
on the big bad internet), so long as the certificates meet a certain
profile. If they don't..... well, we're improving it all the time,
thanks to people like you. :)
Thanks,
-Dave
Something like that. I think I might prefer to change the way
WvX509Store::get() works, to search the stores by criteria other than
just key identifier. It probably won't be too difficult.
The nice thing is I have a test case, in the form of your
certificates. :)
Thanks,
-Dave