axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdelrahman Almahmoud <>
Subject RE: Adding a Certificate to the SOAP message
Date Sun, 17 Feb 2013 10:21:15 GMT
Thanks for the reply
I think I was a little unclear, the certificate I have is a proxy certificate issued to me
by another entity so I naturally do not have the private key that goes with it, I simply want
to store the certificate into a file and have rampart attach it in the header of the out going
SOAP messages as a form of authentication.From what I understand, I can't store a certificate
into a java store without the private key and sample 7 that deals with certificates shows
an example on java key store

Date: Sun, 17 Feb 2013 14:03:46 +0530
Subject: Re: Adding a Certificate to the SOAP message

Yes... please have a look at the policy samples come with Rampart distribution. You can use
your own certificates for signing and encrypting the SOAP messages.
Thanks & regards,-Prabath

On Sun, Feb 17, 2013 at 12:26 PM, Abdelrahman Almahmoud <>

I have created a self signed X.509 certificate using the BouncyCastle library, now I want
to attach it in the header of every outgoing SOAP message. In what ways can I have rampart
use a specific certificate that I created?
I know that I can have it use a java key store but am not sure how exactly and if there are
other simpler ways as I would rather avoid using these secure stores altogether

Thanks & Regards,
Mobile : +94 71 809 6732
View raw message