You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by "Kraft, Mike" <Mi...@teradact.com> on 2008/09/23 19:44:46 UTC

Https support

Hi,
 
I'm new to Archiva and this list, so please forgive me if this is a dumb question. I would like to use our Archiva repositories via https. We are running Archiva 1.1.2 in Tomcat 6. I have set up Tomcat properly for https, and I can successfully browse the Archiva web app via https. However, all attempts to download from or deploy to the Archiva repositories via https or dav:https fail (note that attempts using unencrypted http or dav:http succeed).
 
For example, when using dav:https and mvn deploy, I get this error on the command line:
[INFO] Error deploying artifact: Failed to create destination WebDAV collection (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
 
unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to create destination WebDAV collection (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
...
 
With just https:
[INFO] Error deploying artifact: Error transferring file (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
 
unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Error transferring file (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
...
 
Archiva's own logs show nothing for these events.
 
Have I missed something? Is there any way to set up Archiva and/or Maven so https will work?
 
Thanks in advance,
Mike

Re: Https support

Posted by Brett Porter <br...@gmail.com>.
2008/9/24 Kraft, Mike <Mi...@teradact.com>:
> You mean on each client machine that connects to the server (its already in the server-side keystore)? Unfortunately that's a little too invasive.
>
> So I take it that the real problem has nothing to do with Archiva or Tomcat, rather that Maven's wagons simply do not want to accept self-signed certificates from the server?

Right, the default wagon just delegates this to Java's URLConnection
which requires this. I'm not sure if there is a system property that
will disable the check (though that still requires a change on every
client).

- Brett

>
> Mike
>
>> -----Original Message-----
>> From: Emmanuel Venisse [mailto:emmanuel.venisse@gmail.com]
>> Sent: Tuesday, September 23, 2008 15:01
>> To: users@archiva.apache.org
>> Subject: Re: Https support
>>
>> You can add your certificate in your jdk keystore.
>>
>> Emmanuel
>>
>> On Tue, Sep 23, 2008 at 9:18 PM, Kraft, Mike
>> <Mi...@teradact.com>wrote:
>>
>> > Yes. Sorry I forgot to mention that...
>> >
>> > > -----Original Message-----
>> > > From: Dennis Lundberg [mailto:dennisl@apache.org]
>> > > Sent: Tuesday, September 23, 2008 13:10
>> > > To: users@archiva.apache.org
>> > > Subject: Re: Https support
>> > >
>> > > "unable to find valid certification path to requested target"
>> > >
>> > > Are you perhaps using a self-signed SSL certificate in Tomcat?
>> > >
>> > >
>> > > Kraft, Mike wrote:
>> > > > Hi,
>> > > >
>> > > > I'm new to Archiva and this list, so please forgive me if
>> > > this is a dumb question. I would like to use our Archiva
>> > > repositories via https. We are running Archiva 1.1.2 in
>> > > Tomcat 6. I have set up Tomcat properly for https, and I can
>> > > successfully browse the Archiva web app via https. However,
>> > > all attempts to download from or deploy to the Archiva
>> > > repositories via https or dav:https fail (note that attempts
>> > > using unencrypted http or dav:http succeed).
>> > > >
>> > > > For example, when using dav:https and mvn deploy, I get
>> > > this error on the command line:
>> > > > [INFO] Error deploying artifact: Failed to create
>> > > destination WebDAV collection (directory):
>> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
>> > > >
>> > > > unable to find valid certification path to requested target
>> > > > [INFO]
>> > > --------------------------------------------------------------
>> > > ----------
>> > > > [INFO] Trace
>> > > > org.apache.maven.lifecycle.LifecycleExecutionException:
>> > > Error deploying artifact: Failed to create destination WebDAV
>> > > collection (directory):
>> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
>> > > >     at
>> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
>> > > ls(DefaultLifecycleExecutor.java:583)
>> > > > ...
>> > > >
>> > > > With just https:
>> > > > [INFO] Error deploying artifact: Error transferring file
>> > > (directory):
>> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
>> > > >
>> > > > unable to find valid certification path to requested target
>> > > > [INFO]
>> > > --------------------------------------------------------------
>> > > ----------
>> > > > [INFO] Trace
>> > > > org.apache.maven.lifecycle.LifecycleExecutionException:
>> > > Error deploying artifact: Error transferring file
>> > > (directory):
>> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
>> > > >     at
>> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
>> > > ls(DefaultLifecycleExecutor.java:583)
>> > > > ...
>> > > >
>> > > > Archiva's own logs show nothing for these events.
>> > > >
>> > > > Have I missed something? Is there any way to set up Archiva
>> > > and/or Maven so https will work?
>> > > >
>> > > > Thanks in advance,
>> > > > Mike
>> > >
>> > >
>> > > --
>> > > Dennis Lundberg
>> > >
>> >
>>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

RE: Https support

Posted by "Kraft, Mike" <Mi...@teradact.com>.
Understood. I will in fact tell them they need to stop being so cheap and buy some certificates! ;^)

My thanks to everyone who responded,
Mike

> -----Original Message-----
> From: Dennis Lundberg [mailto:dennisl@apache.org] 
> Sent: Tuesday, September 23, 2008 16:17
> To: users@archiva.apache.org
> Subject: Re: Https support
> 
> Java in general is very picky about certificates. If you want to use
> self-signed certificated you usually need to jump through all kinds of
> hoops to get it working, if it's even possible. The easiest 
> solution by
> far it to get a real certificate.
> 
> Kraft, Mike wrote:
> > You mean on each client machine that connects to the server 
> (its already in the server-side keystore)? Unfortunately 
> that's a little too invasive.
> > 
> > So I take it that the real problem has nothing to do with 
> Archiva or Tomcat, rather that Maven's wagons simply do not 
> want to accept self-signed certificates from the server?
> > 
> > Mike
> > 
> >> -----Original Message-----
> >> From: Emmanuel Venisse [mailto:emmanuel.venisse@gmail.com] 
> >> Sent: Tuesday, September 23, 2008 15:01
> >> To: users@archiva.apache.org
> >> Subject: Re: Https support
> >>
> >> You can add your certificate in your jdk keystore.
> >>
> >> Emmanuel
> >>
> >> On Tue, Sep 23, 2008 at 9:18 PM, Kraft, Mike 
> >> <Mi...@teradact.com>wrote:
> >>
> >>> Yes. Sorry I forgot to mention that...
> >>>
> >>>> -----Original Message-----
> >>>> From: Dennis Lundberg [mailto:dennisl@apache.org]
> >>>> Sent: Tuesday, September 23, 2008 13:10
> >>>> To: users@archiva.apache.org
> >>>> Subject: Re: Https support
> >>>>
> >>>> "unable to find valid certification path to requested target"
> >>>>
> >>>> Are you perhaps using a self-signed SSL certificate in Tomcat?
> >>>>
> >>>>
> >>>> Kraft, Mike wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I'm new to Archiva and this list, so please forgive me if
> >>>> this is a dumb question. I would like to use our Archiva
> >>>> repositories via https. We are running Archiva 1.1.2 in
> >>>> Tomcat 6. I have set up Tomcat properly for https, and I can
> >>>> successfully browse the Archiva web app via https. However,
> >>>> all attempts to download from or deploy to the Archiva
> >>>> repositories via https or dav:https fail (note that attempts
> >>>> using unencrypted http or dav:http succeed).
> >>>>> For example, when using dav:https and mvn deploy, I get
> >>>> this error on the command line:
> >>>>> [INFO] Error deploying artifact: Failed to create
> >>>> destination WebDAV collection (directory):
> >>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >>>>> unable to find valid certification path to requested target
> >>>>> [INFO]
> >>>> --------------------------------------------------------------
> >>>> ----------
> >>>>> [INFO] Trace
> >>>>> org.apache.maven.lifecycle.LifecycleExecutionException:
> >>>> Error deploying artifact: Failed to create destination WebDAV
> >>>> collection (directory):
> >>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >>>>>     at
> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> >>>> ls(DefaultLifecycleExecutor.java:583)
> >>>>> ...
> >>>>>
> >>>>> With just https:
> >>>>> [INFO] Error deploying artifact: Error transferring file
> >>>> (directory):
> >>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >>>>> unable to find valid certification path to requested target
> >>>>> [INFO]
> >>>> --------------------------------------------------------------
> >>>> ----------
> >>>>> [INFO] Trace
> >>>>> org.apache.maven.lifecycle.LifecycleExecutionException:
> >>>> Error deploying artifact: Error transferring file
> >>>> (directory):
> >>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >>>>>     at
> >>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> >>>> ls(DefaultLifecycleExecutor.java:583)
> >>>>> ...
> >>>>>
> >>>>> Archiva's own logs show nothing for these events.
> >>>>>
> >>>>> Have I missed something? Is there any way to set up Archiva
> >>>> and/or Maven so https will work?
> >>>>> Thanks in advance,
> >>>>> Mike
> >>>>
> >>>> --
> >>>> Dennis Lundberg
> >>>>
> > 
> 
> 
> -- 
> Dennis Lundberg
> 

Re: Https support

Posted by Dennis Lundberg <de...@apache.org>.
Java in general is very picky about certificates. If you want to use
self-signed certificated you usually need to jump through all kinds of
hoops to get it working, if it's even possible. The easiest solution by
far it to get a real certificate.

Kraft, Mike wrote:
> You mean on each client machine that connects to the server (its already in the server-side keystore)? Unfortunately that's a little too invasive.
> 
> So I take it that the real problem has nothing to do with Archiva or Tomcat, rather that Maven's wagons simply do not want to accept self-signed certificates from the server?
> 
> Mike
> 
>> -----Original Message-----
>> From: Emmanuel Venisse [mailto:emmanuel.venisse@gmail.com] 
>> Sent: Tuesday, September 23, 2008 15:01
>> To: users@archiva.apache.org
>> Subject: Re: Https support
>>
>> You can add your certificate in your jdk keystore.
>>
>> Emmanuel
>>
>> On Tue, Sep 23, 2008 at 9:18 PM, Kraft, Mike 
>> <Mi...@teradact.com>wrote:
>>
>>> Yes. Sorry I forgot to mention that...
>>>
>>>> -----Original Message-----
>>>> From: Dennis Lundberg [mailto:dennisl@apache.org]
>>>> Sent: Tuesday, September 23, 2008 13:10
>>>> To: users@archiva.apache.org
>>>> Subject: Re: Https support
>>>>
>>>> "unable to find valid certification path to requested target"
>>>>
>>>> Are you perhaps using a self-signed SSL certificate in Tomcat?
>>>>
>>>>
>>>> Kraft, Mike wrote:
>>>>> Hi,
>>>>>
>>>>> I'm new to Archiva and this list, so please forgive me if
>>>> this is a dumb question. I would like to use our Archiva
>>>> repositories via https. We are running Archiva 1.1.2 in
>>>> Tomcat 6. I have set up Tomcat properly for https, and I can
>>>> successfully browse the Archiva web app via https. However,
>>>> all attempts to download from or deploy to the Archiva
>>>> repositories via https or dav:https fail (note that attempts
>>>> using unencrypted http or dav:http succeed).
>>>>> For example, when using dav:https and mvn deploy, I get
>>>> this error on the command line:
>>>>> [INFO] Error deploying artifact: Failed to create
>>>> destination WebDAV collection (directory):
>>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
>>>>> unable to find valid certification path to requested target
>>>>> [INFO]
>>>> --------------------------------------------------------------
>>>> ----------
>>>>> [INFO] Trace
>>>>> org.apache.maven.lifecycle.LifecycleExecutionException:
>>>> Error deploying artifact: Failed to create destination WebDAV
>>>> collection (directory):
>>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
>>>>>     at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
>>>> ls(DefaultLifecycleExecutor.java:583)
>>>>> ...
>>>>>
>>>>> With just https:
>>>>> [INFO] Error deploying artifact: Error transferring file
>>>> (directory):
>>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
>>>>> unable to find valid certification path to requested target
>>>>> [INFO]
>>>> --------------------------------------------------------------
>>>> ----------
>>>>> [INFO] Trace
>>>>> org.apache.maven.lifecycle.LifecycleExecutionException:
>>>> Error deploying artifact: Error transferring file
>>>> (directory):
>>>> /archiva/repository/internal/com/teradact/testBuild/0.20.0
>>>>>     at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
>>>> ls(DefaultLifecycleExecutor.java:583)
>>>>> ...
>>>>>
>>>>> Archiva's own logs show nothing for these events.
>>>>>
>>>>> Have I missed something? Is there any way to set up Archiva
>>>> and/or Maven so https will work?
>>>>> Thanks in advance,
>>>>> Mike
>>>>
>>>> --
>>>> Dennis Lundberg
>>>>
> 


-- 
Dennis Lundberg

RE: Https support

Posted by "Kraft, Mike" <Mi...@teradact.com>.
You mean on each client machine that connects to the server (its already in the server-side keystore)? Unfortunately that's a little too invasive.

So I take it that the real problem has nothing to do with Archiva or Tomcat, rather that Maven's wagons simply do not want to accept self-signed certificates from the server?

Mike

> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel.venisse@gmail.com] 
> Sent: Tuesday, September 23, 2008 15:01
> To: users@archiva.apache.org
> Subject: Re: Https support
> 
> You can add your certificate in your jdk keystore.
> 
> Emmanuel
> 
> On Tue, Sep 23, 2008 at 9:18 PM, Kraft, Mike 
> <Mi...@teradact.com>wrote:
> 
> > Yes. Sorry I forgot to mention that...
> >
> > > -----Original Message-----
> > > From: Dennis Lundberg [mailto:dennisl@apache.org]
> > > Sent: Tuesday, September 23, 2008 13:10
> > > To: users@archiva.apache.org
> > > Subject: Re: Https support
> > >
> > > "unable to find valid certification path to requested target"
> > >
> > > Are you perhaps using a self-signed SSL certificate in Tomcat?
> > >
> > >
> > > Kraft, Mike wrote:
> > > > Hi,
> > > >
> > > > I'm new to Archiva and this list, so please forgive me if
> > > this is a dumb question. I would like to use our Archiva
> > > repositories via https. We are running Archiva 1.1.2 in
> > > Tomcat 6. I have set up Tomcat properly for https, and I can
> > > successfully browse the Archiva web app via https. However,
> > > all attempts to download from or deploy to the Archiva
> > > repositories via https or dav:https fail (note that attempts
> > > using unencrypted http or dav:http succeed).
> > > >
> > > > For example, when using dav:https and mvn deploy, I get
> > > this error on the command line:
> > > > [INFO] Error deploying artifact: Failed to create
> > > destination WebDAV collection (directory):
> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > > >
> > > > unable to find valid certification path to requested target
> > > > [INFO]
> > > --------------------------------------------------------------
> > > ----------
> > > > [INFO] Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Error deploying artifact: Failed to create destination WebDAV
> > > collection (directory):
> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > > >     at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> > > ls(DefaultLifecycleExecutor.java:583)
> > > > ...
> > > >
> > > > With just https:
> > > > [INFO] Error deploying artifact: Error transferring file
> > > (directory):
> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > > >
> > > > unable to find valid certification path to requested target
> > > > [INFO]
> > > --------------------------------------------------------------
> > > ----------
> > > > [INFO] Trace
> > > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > > Error deploying artifact: Error transferring file
> > > (directory):
> > > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > > >     at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> > > ls(DefaultLifecycleExecutor.java:583)
> > > > ...
> > > >
> > > > Archiva's own logs show nothing for these events.
> > > >
> > > > Have I missed something? Is there any way to set up Archiva
> > > and/or Maven so https will work?
> > > >
> > > > Thanks in advance,
> > > > Mike
> > >
> > >
> > > --
> > > Dennis Lundberg
> > >
> >
> 

Re: Https support

Posted by Emmanuel Venisse <em...@gmail.com>.
You can add your certificate in your jdk keystore.

Emmanuel

On Tue, Sep 23, 2008 at 9:18 PM, Kraft, Mike <Mi...@teradact.com>wrote:

> Yes. Sorry I forgot to mention that...
>
> > -----Original Message-----
> > From: Dennis Lundberg [mailto:dennisl@apache.org]
> > Sent: Tuesday, September 23, 2008 13:10
> > To: users@archiva.apache.org
> > Subject: Re: Https support
> >
> > "unable to find valid certification path to requested target"
> >
> > Are you perhaps using a self-signed SSL certificate in Tomcat?
> >
> >
> > Kraft, Mike wrote:
> > > Hi,
> > >
> > > I'm new to Archiva and this list, so please forgive me if
> > this is a dumb question. I would like to use our Archiva
> > repositories via https. We are running Archiva 1.1.2 in
> > Tomcat 6. I have set up Tomcat properly for https, and I can
> > successfully browse the Archiva web app via https. However,
> > all attempts to download from or deploy to the Archiva
> > repositories via https or dav:https fail (note that attempts
> > using unencrypted http or dav:http succeed).
> > >
> > > For example, when using dav:https and mvn deploy, I get
> > this error on the command line:
> > > [INFO] Error deploying artifact: Failed to create
> > destination WebDAV collection (directory):
> > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > >
> > > unable to find valid certification path to requested target
> > > [INFO]
> > --------------------------------------------------------------
> > ----------
> > > [INFO] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > Error deploying artifact: Failed to create destination WebDAV
> > collection (directory):
> > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > >     at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> > ls(DefaultLifecycleExecutor.java:583)
> > > ...
> > >
> > > With just https:
> > > [INFO] Error deploying artifact: Error transferring file
> > (directory):
> > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > >
> > > unable to find valid certification path to requested target
> > > [INFO]
> > --------------------------------------------------------------
> > ----------
> > > [INFO] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException:
> > Error deploying artifact: Error transferring file
> > (directory):
> > /archiva/repository/internal/com/teradact/testBuild/0.20.0
> > >     at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> > ls(DefaultLifecycleExecutor.java:583)
> > > ...
> > >
> > > Archiva's own logs show nothing for these events.
> > >
> > > Have I missed something? Is there any way to set up Archiva
> > and/or Maven so https will work?
> > >
> > > Thanks in advance,
> > > Mike
> >
> >
> > --
> > Dennis Lundberg
> >
>

RE: Https support

Posted by "Kraft, Mike" <Mi...@teradact.com>.
Yes. Sorry I forgot to mention that... 

> -----Original Message-----
> From: Dennis Lundberg [mailto:dennisl@apache.org] 
> Sent: Tuesday, September 23, 2008 13:10
> To: users@archiva.apache.org
> Subject: Re: Https support
> 
> "unable to find valid certification path to requested target"
> 
> Are you perhaps using a self-signed SSL certificate in Tomcat?
> 
> 
> Kraft, Mike wrote:
> > Hi,
> >  
> > I'm new to Archiva and this list, so please forgive me if 
> this is a dumb question. I would like to use our Archiva 
> repositories via https. We are running Archiva 1.1.2 in 
> Tomcat 6. I have set up Tomcat properly for https, and I can 
> successfully browse the Archiva web app via https. However, 
> all attempts to download from or deploy to the Archiva 
> repositories via https or dav:https fail (note that attempts 
> using unencrypted http or dav:http succeed).
> >  
> > For example, when using dav:https and mvn deploy, I get 
> this error on the command line:
> > [INFO] Error deploying artifact: Failed to create 
> destination WebDAV collection (directory): 
> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >  
> > unable to find valid certification path to requested target
> > [INFO] 
> --------------------------------------------------------------
> ----------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: 
> Error deploying artifact: Failed to create destination WebDAV 
> collection (directory): 
> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> ls(DefaultLifecycleExecutor.java:583)
> > ...
> >  
> > With just https:
> > [INFO] Error deploying artifact: Error transferring file 
> (directory): 
> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >  
> > unable to find valid certification path to requested target
> > [INFO] 
> --------------------------------------------------------------
> ----------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: 
> Error deploying artifact: Error transferring file 
> (directory): 
> /archiva/repository/internal/com/teradact/testBuild/0.20.0
> >     at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
> ls(DefaultLifecycleExecutor.java:583)
> > ...
> >  
> > Archiva's own logs show nothing for these events.
> >  
> > Have I missed something? Is there any way to set up Archiva 
> and/or Maven so https will work?
> >  
> > Thanks in advance,
> > Mike
> 
> 
> -- 
> Dennis Lundberg
> 

Re: Https support

Posted by Dennis Lundberg <de...@apache.org>.
"unable to find valid certification path to requested target"

Are you perhaps using a self-signed SSL certificate in Tomcat?


Kraft, Mike wrote:
> Hi,
>  
> I'm new to Archiva and this list, so please forgive me if this is a dumb question. I would like to use our Archiva repositories via https. We are running Archiva 1.1.2 in Tomcat 6. I have set up Tomcat properly for https, and I can successfully browse the Archiva web app via https. However, all attempts to download from or deploy to the Archiva repositories via https or dav:https fail (note that attempts using unencrypted http or dav:http succeed).
>  
> For example, when using dav:https and mvn deploy, I get this error on the command line:
> [INFO] Error deploying artifact: Failed to create destination WebDAV collection (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
>  
> unable to find valid certification path to requested target
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to create destination WebDAV collection (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
>     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
> ...
>  
> With just https:
> [INFO] Error deploying artifact: Error transferring file (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
>  
> unable to find valid certification path to requested target
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Error transferring file (directory): /archiva/repository/internal/com/teradact/testBuild/0.20.0
>     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
> ...
>  
> Archiva's own logs show nothing for these events.
>  
> Have I missed something? Is there any way to set up Archiva and/or Maven so https will work?
>  
> Thanks in advance,
> Mike


-- 
Dennis Lundberg