VisualSVN Server does not support DER encoded certificates

Applies to: VisualSVN Server 2.0, 2.1, 2.5

Symptoms

You may receive the following error message when you try to import a certificate in DER format:

error:0906D06C:PEM routines:PEM_read_bio:no start line

Cause

VisualSVN Server 2.5 and older versions do not support import of SSL certificates in the DER format.

Workaround

You may use the following command line to convert the certificate from DER to PEM format:

"%VISUALSVN_SERVER%bin\openssl" x509 -inform der -in cert.cer -outform pem -out cert.pem

Status

This issue has been fixed in VisualSVN Server 2.6 release. Beginning with VisualSVN Server 2.6, certificate management wizard in VisualSVN Server Manager supports certificates in DER, PFX and PEM formats.

Last Modified: