ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Zethelius <>
Subject RE: Using client authentication (certificates) with Ivy
Date Tue, 06 Sep 2011 14:27:24 GMT
I've found ant to be a bit picky about which options are fed to the VM. Instead of passing
on the command line, try setting environment variable ANT_OPTS, which definitely get passed
to the Ant JVM, which is what runs ivy.

From: Adrian Howchin []
Sent: Sunday, September 04, 2011 10:58 PM
Subject: Using client authentication (certificates) with Ivy


I have an Apache HTTPD server setup in between my clients (which do Ivy
retrieves) and my Nexus server. In beautiful ascii art:
Client (ivy) <-->   (Apache HTTPD server) <-->   Nexus server

The HTTPD server requires client authentication via signed certificates
before it will pass the connection on to the Nexus server

I know how to get my browser to work with this setup (simply import a
certificate signed by the CA cert referenced by SSLCACertificateFile
inside the httpd.conf), but I don't know how to get this to work with
Ivy retrieve. I've tried using the "*" options, i.e:

-buildfile myBuildFile.xml

... and:

ant -buildfile myBuildFile.xml

.. but neither of these work. I've tried creating a keystore and putting
inside the users' .ssh directory, but no joy. I've also tried simply
copying the signed certificate into the users' .ssh directory, but again
no joy.

Is it possible to use certificates for client authentication with Ivy?
If so, how?

Adrian Howchin

This transmission is for the intended addressee only and is confidential information. If you
have received this transmission in error, please notify the sender and delete the transmission.
The contents of this e-mail are the opinion of the writer only and are not endorsed by the
Mincom Group of companies unless expressly stated otherwise.
View raw message