Stefan Seelmann created DIRSTUDIO-1057:
------------------------------------------

             Summary: Update site doesn't work with https
                 Key: DIRSTUDIO-1057
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1057
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-updatesite
            Reporter: Stefan Seelmann
             Fix For: 2.0.0-M10


When using https for update site URL loading of update site fails. 

{code}
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at 
https://www.apache.org/dist/directory/studio/update/2.0.0.v20150606-M9/eclipse/content.xml.
        at 
org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)
        at 
org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
        at 
org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
        ....
Caused by: javax.net.ssl.SSLException: hostname in certificate didn't match: 
<www.apache.org> != <*.openoffice.org> OR <*.openoffice.org> OR <openoffice.org>
        at 
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:238)
        at 
org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54)
        at 
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:159)
        at 
org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:140)
        at 
org.apache.http.conn.ssl.SSLSocketFactory.verifyHostname(SSLSocketFactory.java:561)
        at 
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:536)
        at 
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)
        at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
        ....
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to