For Programmers: Free Programming Magazines  


Home > Archive > Java Security > April 2004 > certificate change during execution









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author certificate change during execution
joopie

2004-04-04, 4:37 pm

Hello,

I am looking for a way to change the certificate during runtime.

At the moment a have a MDB that sends the messages to a third party over a SSL connection.
I set the certificate using the System.setProperty(.) method and it is working OK.

Now the third party demands that different types of messages are send with different certificates but to the same URL so they can seperate the messages using the content of the certificate.

I don't want to make two queue and two MDB's so i want to change the certificate in the existing MDB in runtime, i tried using the System.setProperty() , but the message is send with the original (first loaded) certificate.

Does anyone know if this is possible? is there an example ?

Thanks in advance

Kind Regards,

Joop
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com