Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
SSLPeerUnverifiedException signals that the server's identity wasn't confirmed during an SSL handshake.
This exception arises if the server lacks a certificate, the cipher suite doesn't support authentication, or if authentication wasn't part of the handshake.
It's a subclass of SSLException and includes a constructor to provide a reason for the verification failure.
The exception offers methods to get the reason for the failure and other standard exception handling functionalities inherited from its parent classes.
public class
SSLPeerUnverifiedException
extends SSLException
Indicates that the peer's identity has not been verified.
When the peer was not able to
identify itself (for example; no certificate, the particular
cipher suite being used does not support authentication, or no
peer authentication was established during SSL handshaking) this
exception is thrown.
Returns an array containing all of the exceptions that were
suppressed, typically by the try-with-resources
statement, in order to deliver this exception.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],[]]