Package biopb.tensor

Class TlsPinMismatchException

All Implemented Interfaces:
Serializable

public final class TlsPinMismatchException extends RuntimeException
The server's certificate is not the one this client expected.

Raised both for a trust-on-first-use pin that no longer matches and for a configured expectedFingerprint the presented certificate fails. A legitimate cause is certificate rotation; a malicious one is a man-in-the-middle. Either way the client refuses to connect until the operator confirms, and the message names what to update.

See Also: