When trying to update a subversion working copy from Netbeans, I get the following error
svn: E175002: Unable to connect to a repository at URL 'https://svn.XXX.de/svn/[RepositoryName]'
svn: E175002: OPTIONS of 'https://svn.XXX.de/svn/[RepositoryName]': Server certificate verification failed: issuer is not trusted (https://svn.XXX.de)
Additionally I get a popup window saying
SVN command returned with the following error:
javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
I know about this issue and I successfully made a svn checkout
using TortoiseSVN. I permanently accepted the server certificate. Accessing and working with working copies from commandline and Tortoise SVN is fine.
Netbeans is started with the -J-DsvnClientAdapterFactory=commandline
option, so accessing SVN 1.7 repositories basically works.
NetBeans IDE 7.1 (Build 201112071828)
Java 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
TortoiseSVN 1.7.6, Build 22632 - 64 Bit
System Windows 7 - 64 Bit
What can I do to work with my repositories using Netbeans?
Thanks for any useful hint!
The SVN onfiguration is not automatically import in Netbeans. You can find here a brutal way to deal with that (copy svn config in Netbeans).
If you want more accurate informations and elegant way to solve the problem look at this link.
Just install the server certificate in the client's trusted root certificates container:
If you have access to the server, copy the certificate to your computer.
If not have access to the server but you have chrome, just type the root svn repository URL and click on the paddock (at the left of the https letters), then click in certified data > details tab > copy in file button.
With Internet explorer is similar but the copy in file button will be disabled if the site is not added in the trusted places: internet options > security tab > trusted places > Places > type the subversion URL > add > close and accept all windows > restart explorer. Then, you would be able to save certificate.
Right click in the certificate > install certificate
Select all users or current as you need > click next.
Mark place all certificates in the following store (second option).
select trusted root certification authorities folder > accept.
Next > Finish and Ok.
Restart netbeans.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With