Hello, I run into problems using a self signed certificate from a
partner. I have imported the p7b public key in the DigitalSignature/TrustedAnchor/KeyStore. This is the logging in msh.log: 2006-12-29 09:54:45,822 DEBUG [http-8090-Processor20]:
receive incoming message 2006-12-29 09:54:45,842 DEBUG [http-8090-Processor20]:
finished retrieving raw message from HTTP connection 2006-12-29 09:54:45,842 INFO [http-8090-Processor20]:
Process incoming message 2006-12-29 09:54:45,842 DEBUG [http-8090-Processor20]: =>
MessageServer.getMessageFromDataSource 2006-12-29 09:54:45,872 DEBUG [http-8090-Processor20]:
Persist message to R0000\message49907 on persistence handler 2006-12-29 09:54:45,882 DEBUG [http-8090-Processor20]: =>
MessageServer.getMessageFromDataSource 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]: =>
MessageServiceHandler.onMessage 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]: =>
MessageServiceHandler.dispatchMessage 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]: =>
MessageServiceHandler.hasSignature 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]: <=
MessageServiceHandler.hasSignature 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]: =>
MessageServiceHandler.verify 2006-12-29 09:54:45,912 DEBUG [http-8090-Processor20]:
verify the XML signature 2006-12-29 09:54:45,922 DEBUG [http-8090-Processor20]:
setEnvelope, using algorithm: null 2006-12-29 09:54:45,922 DEBUG [http-8090-Processor20]: start
verifying 2006-12-29 09:54:45,933 DEBUG [http-8090-Processor20]: got
the signature element 2006-12-29 09:54:45,973 DEBUG [http-8090-Processor20]:
created signature object 2006-12-29 09:54:45,973 DEBUG [http-8090-Processor20]:
created document resolver 2006-12-29 09:54:45,973 WARN [http-8090-Processor20]: Self
signed certificate rejected. 2006-12-29 09:54:45,973 ERROR [http-8090-Processor20]: Error
on verifying signature :
hk.hku.cecid.phoenix.message.handler.MessageServiceHandlerException: Self
signed certificate rejected. What do I need to more to trust self signed certificate from
a partner? Regards, Albert
|