Apache OpenOffice (AOO) Bugzilla – Issue 54279
SecurityEnvironment::verify returns unnessicaryly INVALID
Last modified: 2013-02-07 21:57:44 UTC
The service com::sun::star::xml::crypto::SecurityEnvironment can be used to verify certificates. Verification of a certificate can return a combination of these values: com::sun::star::security::CertificateValidity::INVALID com::sun::star::security::CertificateValidity::UNKNOWN_REVOKATION When one examines the certificate in the internet options dialog then the certificate and its root certificate are displayed as valid. The reason for this return value is a mapping from the platform dependent error code: CERT_TRUST_REVOCATION_STATUS_UNKNOWN I suppose that this is the result of a missing Certificate Distribution Point extension in the certificates. The Windows certificate dialog seems to ignore this. I propose to change the service so that CERT_TRUST_REVOCATION_STATUS_UNKNOWN does not result in returning CertificateValidity::Invalid. So that the calling application can decide if it regards the certificate as trustworthy. I've found a good article about the certificate handling in Windows: http://www.microsoft.com/technet/security/topics/cryptographyetc/tshtcrl.mspx?#i
Your task now ;)
but now...
.
Retargeted to 3.0