NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Natit
Joined: 18 Jun 2009 Posts: 11
|
Posted: Thu Sep 17, 2009 1:32 pm Post subject: WebService with ssl problem |
|
|
Hi i have been trying for the good part of a day now to figure out how to deploy my web project to a tomcat / glassfish server.
First i tried to tomcat, and i got an error saying jaxb2.0 was already in use, and i had to use endorsed dir and put in 2.1 to get it to work. Sure enough that worked but it also broke (logically i suppose ) the app requiring jaxb2.0 deployed on the same server.
So i gave up and moved to a glassfish server we have after being told it would work there. Now i got a certificate problem. I have a wsdl client in my app that is required to communicate with an external web service out of my control, and their certifcate seems to be impossible to get approved.
I tried editing the default cacerts file in JRE dir by adding my certificate, still i get an certificate warning after restarting the glassfish service (This project works fine on my computer without ever haveing done any of this stuff).
Does netbeans do anyhting to add a certificate to the local machine? If it does how can i reproduce this on the server? The certificate i am haveing trouble with can be found here: https://service.creno.no/?wsdl |
|
| Back to top |
|
 |
Arshad Noor Posted via mailing list.
|
Posted: Thu Sep 17, 2009 2:27 pm Post subject: WebService with ssl problem |
|
|
Have you added the certificate to the cacerts.jks file in the
GFHOME/domains/domain1/config directory?
Additionally, have you checked the GFHOME/config/asenv.conf file
to verify that the cacerts file you modified is in the JRE/JDK
directory that is used by Glassfish? Most developers have many
JDK/JREs on their machine and the one they may be using may not
be the same version/instance being used by Glassfish.
Arshad Noor
StrongAuth, Inc.
Natit wrote:
| Quote: | Hi i have been trying for the good part of a day now to figure out how to deploy my web project to a tomcat / glassfish server.
First i tried to tomcat, and i got an error saying jaxb2.0 was already in use, and i had to use endorsed dir and put in 2.1 to get it to work. Sure enough that worked but it also broke (logically i suppose ) the app requiring jaxb2.0 deployed on the same server.
So i gave up and moved to a glassfish server we have after being told it would work there. Now i got a certificate problem. I have a wsdl client in my app that is required to communicate with an external web service out of my control, and their certifcate seems to be impossible to get approved.
I tried editing the default cacerts file in JRE dir by adding my certificate, still i get an certificate warning after restarting the glassfish service (This project works fine on my computer without ever haveing done any of this stuff).
Does netbeans do anyhting to add a certificate to the local machine? If it does how can i reproduce this on the server? The certificate i am haveing trouble with can be found here: https://service.creno.no/?wsdl
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|