SSL handshake alert: unrecognized_name error since upgrade to Java 1.7.0

前端 未结 17 3084
栀梦
栀梦 2020-11-22 06:35

I upgraded from Java 1.6 to Java 1.7 today. Since then an error occur when I try to establish a connection to my webserver over SSL:

javax.net.ssl.SSLProtoco         


        
17条回答
  •  萌比男神i
    2020-11-22 07:18

    I had the same problem with an Ubuntu Linux server running subversion when accessed via Eclipse.

    It has shown that the problem had to do with a warning when Apache (re)started:

    [Mon Jun 30 22:27:10 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
    
    ... waiting [Mon Jun 30 22:27:11 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
    

    This has been due to a new entry in ports.conf, where another NameVirtualHost directive was entered alongside the directive in sites-enabled/000-default.

    After removing the directive in ports.conf, the problem had vanished (after restarting Apache, naturally)

提交回复
热议问题