[ http://jira.codehaus.org/browse/CONTINUUM-746?page=all ] Emmanuel Venisse closed CONTINUUM-746: --------------------------------------
Assign To: Emmanuel Venisse Resolution: Fixed Fix Version: 1.1 Done. > cannot add a project from an ssl server with invalid hostname in certificate > ---------------------------------------------------------------------------- > > Key: CONTINUUM-746 > URL: http://jira.codehaus.org/browse/CONTINUUM-746 > Project: Continuum > Type: Bug > Components: Web interface > Versions: 1.0.3 > Environment: debian linux / ubuntu linux > Reporter: Andrew Williams > Assignee: Emmanuel Venisse > Priority: Minor > Fix For: 1.1 > > > If the hostname in an ssl certificate used by an https server that is > referenced in a URL is incorrect there is a large stack trace outputted and > the error "The URL you provided doesn't exist" > the trace is: > jvm 1 | java.io.IOException: HTTPS hostname wrong: should be <svn.recta > m> > jvm 1 | at sun.net.www.protocol.https.HttpsClient.b(DashoA12275) > jvm 1 | at sun.net.www.protocol.https.HttpsClient.afterConnect(Dash > 75) > jvm 1 | at sun.net.www.protocol.https.AbstractDelegateHttpsURLConne > .connect(DashoA12275) > jvm 1 | at sun.net.www.protocol.http.HttpURLConnection.getInputStre > tpURLConnection.java:626) > jvm 1 | at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInp > eam(DashoA12275) > jvm 1 | at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid( > dHttpsURL.java:111) > jvm 1 | at org.codehaus.plexus.formica.validation.UrlSourceValidato > idate(UrlSourceValidator.java:63) > jvm 1 | at org.codehaus.plexus.formica.DefaultFormManager.validateE > ts(DefaultFormManager.java:195) > jvm 1 | at org.codehaus.plexus.formica.DefaultFormManager.validate( > ltFormManager.java:124) > jvm 1 | at org.codehaus.plexus.formica.DefaultFormManager.validate( > ltFormManager.java:114) > jvm 1 | at org.codehaus.plexus.formica.action.AbstractEntityAction. > te(AbstractEntityAction.java:107) > jvm 1 | at org.codehaus.plexus.summit.pipeline.valve.ActionValve.in > ActionValve.java:68) > jvm 1 | at org.codehaus.plexus.summit.pipeline.AbstractPipeline.inv > bstractPipeline.java:70) > jvm 1 | at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) > jvm 1 | at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108 > jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java: > < rest omitted > > suggest that this should be permitted with a warning or such notice. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira