петък, 18 януари 2019 г.

To fix cvn wrong certificate problem

I was getting the following error while trying to update a code trough cvn
svn: E170013: Unable to connect to a repository at URL 'https://some.url' svn: E230001: Server SSL certificate verification failed:certificate expired
Since I'm not some pro with cvn I first checked the url - it works but indeed gives a security exception due to the expired certificate. I googled the solution, it is to add the option " --trust-server-cert"
 to the svn command, but that was impractical since the script for the svn command is 3000 lines long.
So a work-around which I found here (along with other solutions) was to delete ~/.subversion folder and then to do
#svn list https://url.you.need
and to press "p" to add a permanent exception. And it worked. Yay.

Няма коментари:

Публикуване на коментар