Apache OpenOffice (AOO) Bugzilla – Issue 63058
add signature does not work
Last modified: 2006-05-22 09:34:04 UTC
I can't add a certificate when there is comma(,) in the certificate's subject. e.g. CN=Test O=ABC, Inc. C=US
@ fst: please have a look.
Hi Joachim, please have a look at this one and target as needed. Frank
.
jl->hizuya: Are you sure that you mean the subject and not the issuer? I could not reproduce this bug with a subject name containing a ",". The string type of respective RDN was PrintableString. Another problem could be that the certificate uses other string types for the RDN values in the issuer name. If this is the case, then this may be fixed in cws jl32 (issue 62684).
Hi jl, As you say, issuer is right. I had mistaken because I was trying to use the self signed certificate. I think that PrintableString contains ",". I fixed "replaceTagSWithTagST" function in xmlsecurity\source\xmlsec\mscrypt\x509certificate_mscryptimpl.cxx. I don't know whether modification is right. But, I am satisfied.
Hi hizuya, Would you mind to add your modified function? BTW, the issuer name was used to locate the certificate in the local certificate store. But this does not work very well. Therefore we will use the whole certifcate in the future. In other words, the issuer name will only have an informative purpose. This was done in the fix for 62684.
Should the problem still exist in the current OOo milestone, then reopen this issue. *** This issue has been marked as a duplicate of 62684 ***