This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58717

Summary: Add certificate to keystore during downloading wsdl from a secured server
Product: webservices Reporter: sigalduek <sigalduek>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: NEW ---    
Severity: blocker CC: cwebster, pbuzek, pjiricka, sherold
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: sample

Description sigalduek 2005-05-10 08:57:14 UTC
Customet voc: I'm trying to connect to STIC testing machine to create a new Web
Service Client from the wsdl published their.  This machine only accepts
https access.  When I enter the following URL
I get the following error ("Download failed. I/O exception: No trusted certificate
found").  I can not add the certificate to the Netbeans IDE environment.
Comment 1 Petr Jiricka 2005-08-25 13:03:59 UTC
Milane, can you please evaluate? This is something between a defect and an
enhancement - what would it mean to implement this? Thanks.
Comment 2 Milan Kuchtiak 2005-09-05 14:08:37 UTC
Is there a public url of that web service (with https: protocol) ?
Please, attach also a log file.
Comment 3 Milan Kuchtiak 2005-09-05 14:43:25 UTC
OK, I managed to reproduce the issue.
Comment 4 Milan Kuchtiak 2005-09-05 17:13:14 UTC
This is more like an enhancement.
Currently we don't support https protocol for WS clients.
In order to create WS Client located on a trusted site you have to start
Netbeans with the following options : (file where trusted
certificates are stored)

Then, of course, (when running WS client in java project) the same options must
be set at Project properties -> Run -> VM Options field.
Comment 5 sigalduek 2006-10-05 13:46:00 UTC
Does the Enterprise Pack 5.5 solve this issue?
Comment 6 Milan Kuchtiak 2006-10-05 15:59:19 UTC
Now, the XML Retriever is are able to download trusted WSDL file. Then WS client
is being built from this local file. This enhancement can be consider fixed.
See the issue 79365.

But, however, the web/ejb client isn't able to work with web service unless the
certificate isn't exported to GlassFish/Tomcat server.

We currently have no support in IDE to export the certificate to server or do we
have any? 

The same problem exists in WS Client in Java Application.
We should be able to add the certificate to JVM the java application is running in.
Comment 7 Lukas Jungmann 2008-04-14 17:15:02 UTC
moving opened issues where TM != dev to TM=TBD
Comment 8 ganga4ever 2013-05-31 13:49:08 UTC
Created attachment 135177 [details]