SVN Certificates
When the Perforce shipped SVN clients does not recognize your SSL server certificate, you can export the certificate and point to it from the svn wrappers. When you do this, not all users have to accept the certificate permanently.
To the user this error can appear like:
svn: E175002: Unable to connect to repository 'https://......../svn/....'
Or in BuildIC:
ERROR : callback_ssl_server_trust_prompt required
This can be any kind of authentication problem, but can also be the certificate problem. In a normal svn command users would be prompted to accept the certificate, but in VersIC & BuildIC all commands are ran 'non-interactive' and therefore users will not be prompted to accept the certificate.
Step one: Export your SLL certificate in PEM format X.509 and store it in a location readable for all users (/path/to/your/certificate) Step two: Change the wrapper in the versic and/or buildic installation to include the certificate:
/..../methodics/versic/current/tools/extras/svn_1.7/svn --config-option servers:global:ssl-authority-files=/path/to/your/certificate
e.g.:
$ vi /mdx/tools/methodics/versic/current/tools/extras/svn_1.7/svn
#!/bin/bash -f
# Subversion command line svn client wrapper to avoid issues
# with LD_LIBRARY_PATH
script_path=`dirname $0`
export LD_LIBRARY_PATH=${script_path}/lib
# Pass all arguments to svn client.
${script_path}/bin/svn --config-option servers:global:ssl-authority-files="/path/to/your/certificate" "$@"exit $status
Or for buildIC in
/mdx/tools/methodics/buildic/current/tools/extras/subversion/svn