Uploaded image for project: 'PUBLIC - Liferay Maven'
  1. PUBLIC - Liferay Maven
  2. MAVEN-106

The maven liferay repository cannot be proxied by a private nexus reposiotry because of HTTPS problem


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: General
    • Labels:
    • Environment:
      Sonatype Nexus 2.6.3-01


      Because we must use some maven artifacts of the 6.2.0 liferay version, we must use the repository.liferay.com repository.

      We also must use our own nexus repository. Then we have created a proxy repository. After proxy repository creation, nexus emits a warn because the proxied repository is untrusted. The detail of this message is explained here : https://issues.sonatype.org/browse/NEXUS-5481

      Then we have follow this documentation to try to import liferay repository's certificate : http://books.sonatype.com/nexus-book/reference/ssl-sect-client-cert.html#_proxying_ssl_secured_repositories

      But during the importation into our nexus keystore, the following message is fired:
      Could not obtain server certificate chain
      Exception from SSL handshake was:
      javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
      at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
      at com.sonatype.component.ssl.imprt.ImportServerCertificates.doImport(ImportServerCertificates.java:171)
      at com.sonatype.component.ssl.imprt.ImportServerCertificates.run(ImportServerCertificates.java:66)
      at com.sonatype.component.ssl.imprt.Main.main(Main.java:51)

      I'm not sure to understand where is the problem, but into the Liferay repository certificate, there is no owner's name. I'm afraid this is the problem.

      Consequently, is there a way to access to the liferay repository by using the http protocol?




            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created:
                Days since last comment:
                6 years, 35 weeks, 4 days ago


                Version Package