Maven release plugin SSL errors -


today colleagues , spent time looking issue maven release plugin.

a new hire trying run release:perform on svn repo had never deployed before. command hang unsuccessfully , artifacts never deployed; error displayed was:

[info] error validating server certificate 'https://forge.onehippo.org:443': [info]  - certificate not issued trusted authority. use [info]    fingerprint validate certificate manually! [info]  - certificate hostname not match. [info] certificate information: [info]  - subject: cn=*.onehippo.org, ou=domain control validated, o=*.onehippo.org [info]  - valid: mon aug 01 15:57:43 cest 2011 until thu aug 02 21:19:06 cest 2012 [info]  - issuer: serialnumber=07969287, cn=go daddy secure certification authority, ou=http://certificates.godaddy.com/repository, o="godaddy.com, inc.", l=scottsdale, st=arizona, c=us [info]  - fingerprint: cb:6c:4e:0e:4a:fa:63:3d:f9:e1:ef:c1:e6:81:b5:bc:7a:4e:dd:f8  

after numerous attempts , advice senior developer solved issue checking out fresh copy of tag temporary folder , running mvn deploy there.

this let option answer user input prompt , accept certificate, not possible if deploy run though release plugin. can see problem java default ssl implementation doesn't recognize wildcard certificates, failing validate (perfectly) matching hostnames.

since problem seldom happens , if does, when user beginning use specific repository, forgotten gotcha.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -