bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
856 stars 301 forks source link

Provide user interface for solving troubles with security certificates #370

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Project on web-Dav-Webserver with https (private https certificate)
2. Error-Message: could not open file
Message:
Die Datei kann nicht geöffnet werden.:   (0) 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

Error Log:
java.class.path: eclipsito.jar;.
java.home: C:\Programme\Java\jre6
java.io.tmpdir: C:\DOKUME~1\Ralf\LOKALE~1\Temp\
java.runtime.version: 1.6.0_29-b11
java.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Client VM
java.vm.vendor: Sun Microsystems Inc.
java.vm.version: 20.4-b02
os.arch: x86
os.name: Windows XP
os.version: 5.1
sun.java.command: org.bardsoftware.eclipsito.Boot 
ganttproject-eclipsito-config.xml -log
user.country: DE
user.dir: C:\Programme\GanttProjectPraha
user.home: C:\Dokumente und Einstellungen\Ralf
user.language: de
user.timezone: Europe/Berlin

Creating main frame...
1. loading look'n'feels
2. loading options
3. creating menus...
4. creating views...
5. calculating size and packing...
6. changing language ...
7. changing look'n'feel ...
8. finalizing...
Main frame created
Splash closed
30.12.2011 10:38:57 org.ganttproject.impex.htmlpdf.itext.ITextEngine 
registerFontDirectories
WARNUNG: Failed to find directory fonts in plugin org.ganttproject.impex.htmlpdf
30.12.2011 10:42:43 net.sourceforge.ganttproject.GPLogger logToLogger
WARNUNG: Die Datei kann nicht geöffnet werden.: <unspecified> (0)
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
net.sourceforge.ganttproject.document.Document$DocumentException: Die Datei 
kann nicht geöffnet werden.: <unspecified> (0)
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
    at net.sourceforge.ganttproject.document.ProxyDocument$ParsingState.enter(ProxyDocument.java:332)
    at net.sourceforge.ganttproject.document.ProxyDocument.read(ProxyDocument.java:159)
    at net.sourceforge.ganttproject.GanttProject.open(GanttProject.java:709)
    at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:267)
    at net.sourceforge.ganttproject.action.project.OpenURLAction.openRemoteProject(OpenURLAction.java:62)
    at net.sourceforge.ganttproject.action.project.OpenURLAction.actionPerformed(OpenURLAction.java:50)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

What version of the product are you using? On what operating system?
GanttProject 2.5 Praha beta IV (build 823), Windows Vista

Please provide any additional information below.
own SSL certificate on Web-Server, file can be opened in Browser!

Original issue reported on code.google.com by luetker...@googlemail.com on 30 Dec 2011 at 9:05

GoogleCodeExporter commented 9 years ago
Thanks for reporting. I think that this page provides some instructions how to 
bypass this problem: 
http://stackoverflow.com/questions/1828775/httpclient-and-ssl
We'll think of automated UX for that.

Original comment by dbarashev on 30 Dec 2011 at 10:05

GoogleCodeExporter commented 9 years ago
Issue 859 has been merged into this issue.

Original comment by dbarashev on 28 Jan 2014 at 11:03

GoogleCodeExporter commented 9 years ago
Issue #859 addresses similar problem where "peer not authenticated" exception 
is thrown if CA certificate is not trusted. Perhaps some sort of user interface 
for importing certificates may help with these troubles.

Original comment by dbarashev on 28 Jan 2014 at 11:08

GoogleCodeExporter commented 9 years ago

Original comment by dbarashev on 28 Jan 2014 at 11:08