Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] HTTPS - disable hostname check


i am currently facing the follow problem:

We are building our Eclipse P2 based project using Tycho. Due to stability reasons we’ve added a Nexus RepoManager into the manager which proxies all external Repos. When building we get an SSL error

[ERROR] Failed to resolve target definition /var/lib/jenkins/jobs/openhab2/workspace/targetplatform/ Failed to load p2 metadata repository from location https://<>/nexus/content/groups/public-p2/: Unable to read repository at https://<>/nexus/content/groups/public-p2/content.xml. hostname in certificate didn't match: <> != <> OR <> OR <> -> [Help 1]

Using “dig” it turns out that the server is not well administered. However we can’t change that situation by now so we have to workaround it. Maven HTTP Wagon provides the “allowAll” feature (see which simply uses a different HostnameVerifier using the System property maven.wagon.http.ssl.allowall=true  

Is there anything similar to use in tyco builds since tycho doesn’t seem to work with wagons.

Any help is greatly appreciated.

Best, Thomas E.-E.

Back to the top