californium icon indicating copy to clipboard operation
californium copied to clipboard

cf-server certificate doesn't match

Open sakphea opened this issue 2 months ago • 7 comments

Hi, I am implementing CoAP over DTLS based on Californium released 3.11.0. Everything is working fine Based on the secured client/server example. The challenge is that when I let the client connect to a specific IP address of the server rather than the loopback address "127.0.0.1", the handshake process fails at the certificate verification stage with this error message [ClientHandshaker]: Start certificate verification. Error occurred while sending request: java.io.IOException: org.eclipse.californium.scandium.dtls.HandshakeException: Certificate cf-server: Literal IP x.x.x.x doesn't match!]

Can you please advise me on this issue?

sakphea avatar Jun 24 '24 14:06 sakphea