Surely you need to ensure the server SSL certificate has the correct
name in it. Or, configure the sun SSL library to ignore it. I guess
you could google for how to do that.
On Mon, 20 Nov 2006 19:32:39 +0900, "David Leangen"
<continuum@leangen.net> said:
>
> Thanks!
>
> But I'm getting the same error:
>
> hostname wrong: should be <www.company.com>
>
>
>
>
> On Mon, 2006-11-20 at 11:24 +0100, Emmanuel Venisse wrote:
> > Try with this url: https://username:password@www.company.com/....
> >
> > Emmanuel
> >
> > David Leangen a écrit :
> > > Thanks again for the help.
> > >
> > >> You need to provide a pom.xml file in the url field and you must use an
url that respect the
> > >> directory structure of your poms. If you have a http interface on your
scm, it would be better to
> > >> use it.
> > >
> > > Well, that's what I thought originally, but:
> > > 1 - it's only available via https, which needs uid/password
> > >
> > > 2 - I'm getting this exception (maybe relating to the above):
> > >
> > >
> > > - >>>>>>>>>>>>>>>>>>>>>
Executing build job
> > > (DEFAULT_SCHEDULE)...
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | 2006-11-20 19:00:07,854
> > > [SocketListener0-1] INFO Validator:url-source
> > > - An error is occurred.
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | java.io.IOException: HTTPS
> > > hostname wrong: should be <www.com.company>
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.j
> > > ava:490)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:
> > > 415)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
> > > (AbstractDelegateHttpsURLConnection.java:170)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> > > nection.java:916)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Http
> > > sURLConnectionImpl.java:234)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsUR
> > > L.java:111)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(Ur
> > > lSourceValidator.java:63)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.DefaultFormManager.validateElements(Defau
> > > ltFormManager.java:195)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormMa
> > > nager.java:124)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormMa
> > > nager.java:114)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstr
> > > actEntityAction.java:107)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionVa
> > > lve.java:68)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractP
> > > ipeline.java:70)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358
> > > )
> > > INFO | jvm 1 | 2006/11/20 19:00:07 | at
> > > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
> > >
> > >
> > >
> > >
> > >
> >
>
|