I am executing tomcat manager commands with ant. I use the following ant build file.
<project name="My Application" default="print" basedir="."> <!-- Configure the context path for this application --> <property name="path" value="/app"/> <!-- Configure properties to access the Manager application --> <property name="url" value=" https://192.168.8.225/manager"/> <property name="username" value="admin"/> <property name="password" value="admin"/> <!-- Configure the custom Ant tasks for the Manager application --> <taskdef name="stop" classname="org.apache.catalina.ant.StopTask"/> <!-- Executable Targets --> <target name="stop" description="Remove web application"> <stop url="${url}" username="${username}" password="${password}" path="${path}"/> </target> </project> Tomcat is configured for secure https:// connections only. When i issue command ant stop i get the following exception : Buildfile: build.xml stop: BUILD FAILED /opt/Ant/apache-ant-1.6.1/build.xml:47: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException : No trusted certificate found Total time: 0 seconds How can i configure the certificate in this case. thanks in advance --
