When svn is presented a certificate that contains non ASCII characters, it
fails to present a proper user override.
> svn list https://server/svn/repos
svn: PROPFIND request failed on '/svn/repos'
svn: PROPFIND of '/svn/repos': Server certificate verification failed:
certificate issued for a different hostname, issuer is not trusted (https:
//server)
>
The problem seems to be that svn_utf_cstring_from_utf8 returns with an
error, and that aborts the user override dialogue (unfortunately without
stating that the coding of the certificate is in error).
Here is a failing key/certificate pair:
-----BEGIN CERTIFICATE-----
MIIDSTCCArKgAwIBAgIBADANBgkqhkiG9w0BAQQFADB8MQswCQYDVQQGEwJTRTEN
MAsGA1UEBxMETHVuZDEgMB4GA1UEChQXTHVuZHMgVGVrbmlza2EgSPZnc2tvbGEx
JzAlBgNVBAsUHkluc3RpdHV0aW9uZW4gZvZyIFJlZ2xlcnRla25pazETMBEGA1UE
AxMKZXJyb3IuZGVtbzAeFw0wNDAyMTAxMTQ1MzJaFw0wNTAyMDkxMTQ1MzJaMHwx
CzAJBgNVBAYTAlNFMQ0wCwYDVQQHEwRMdW5kMSAwHgYDVQQKFBdMdW5kcyBUZWtu
aXNrYSBI9mdza29sYTEnMCUGA1UECxQeSW5zdGl0dXRpb25lbiBm9nIgUmVnbGVy
dGVrbmlrMRMwEQYDVQQDEwplcnJvci5kZW1vMIGfMA0GCSqGSIb3DQEBAQUAA4GN
ADCBiQKBgQDDnec/1lBaBrcgv0QrCrQm1X+4vPBRXMbLPAEDrmalPDXkTJJ9SUcq
P0YHu4aFOkZo+fbYqAw3tEaBl95UcX0vao+9BZ/59CR/yeZxx+tKZ5CpZf6iKTTv
uKryPS5H6HX4YAauyskCpqyH7PibBSxQtwMSRjf3bHbiFFGPIxKetQIDAQABo4Ha
MIHXMB0GA1UdDgQWBBThn8L81a01JiLObveazt/t5D7EOjCBpwYDVR0jBIGfMIGc
gBThn8L81a01JiLObveazt/t5D7EOqGBgKR+MHwxCzAJBgNVBAYTAlNFMQ0wCwYD
VQQHEwRMdW5kMSAwHgYDVQQKFBdMdW5kcyBUZWtuaXNrYSBI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1AGXAQJASRwcp+VX0KbfY0teX4ylVokN8Gi4T7erBfHDcsKC9IbH
7YtXz51BjrjN2px/rCMML2pfUqhZEEG4H8SzHWIWVQ==
-----END RSA PRIVATE KEY-----
Regards
Anders Blomdell
------------------------------------------------------------------------------
Anders Blomdell
Department of Automatic Control Email: anders.blomdell@control.lth.se
Lund Institute of Technology Phone: +46 46 222 4625
Box 118, S-221 00 Lund, Sweden Fax: +46 46 138118
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 10 13:43:51 2004