Continuum

cannot add a project from an ssl server with invalid hostname in certificate

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.3
  • Fix Version/s: 1.1-alpha-1
  • Component/s: Web interface
  • Labels:
    None
  • Environment:
    debian linux / ubuntu linux
  • Complexity:
    Novice
  • Number of attachments :
    0

Description

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.

Issue Links

Activity

Hide
Andrew Williams added a comment -

sorry, this is a plexus bug, which I have since patched btw

Show
Andrew Williams added a comment - sorry, this is a plexus bug, which I have since patched btw
Hide
Emmanuel Venisse added a comment -

Done.

Show
Emmanuel Venisse added a comment - Done.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: