NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Re: certifacte X.509

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Hans Hrasna
Posted via mailing list.





PostPosted: Thu May 27, 2010 5:16 pm    Post subject: Re: certifacte X.509 Reply with quote

There are instructions here on how to install the certificate to JBoss:

http://docs.jboss.org/jbossweb/en/html/docs/ssl-howto.html

regards,
Hans


jp_listero wrote:
Quote:
I want to invoke a WS (WSDL), but I must sign with a certifacte X.509,
I have .cer and the .key ...
I ' m using netbeans 6.8, Metro 2.0 and JBoss 4.0.5 ...

Really I dont know. Do you have an idea?
Back to top
jplistero
Posted via mailing list.





PostPosted: Thu May 27, 2010 6:05 pm    Post subject: Re: certifacte X.509 Reply with quote

but ... I want to INVOKE a Web Service, I need to implement a Web
Service Client ...

that link is for add SSL to the JBoss.

thanks any way
Back to top
Hans Hrasna
Posted via mailing list.





PostPosted: Tue Jun 01, 2010 2:37 pm    Post subject: Re: certifacte X.509 Reply with quote

To import the certificate for the client you need to use "keytool
-importkeystore <clientkeystore> -keystore <path to jdk keystore.jks>"
and import the key into the keystore for the JDK used by the web service
client. The client cert needs to be in the truststore of the server
(which are the instructions I pointed you to previously). Then make sure
the client uses the https url to connect to the web service. There is
more info here:
http://java.sun.com/webservices/reference/tutorials/wsit/doc/WSIT_Security6.html

See the section titled: Configuring the Keystore and Truststore on a Client

-Hans



address-removed wrote:
Quote:
but ... I want to INVOKE a Web Service, I need to implement a Web
Service Client ...

that link is for add SSL to the JBoss.

thanks any way
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo