Skip to content

Instantly share code, notes, and snippets.

@cmdln
Last active November 12, 2018 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmdln/7b5ea3ee1ca1dc0da5a739877942f91d to your computer and use it in GitHub Desktop.
Save cmdln/7b5ea3ee1ca1dc0da5a739877942f91d to your computer and use it in GitHub Desktop.
Debug display of openssl error
DEBUG - Failure(
MidHandshakeSslStream {
stream: SslStream {
stream: TcpStream {
addr: V4(
10.67.61.79:55726
),
peer: V4(
10.81.171.162:8085
),
fd: 3
},
ssl: Ssl {
state: "error",
verify_result: X509VerifyResult {
code: 20,
error: "unable to get local issuer certificate"
}
}
},
error: Error {
code: ErrorCode(
1
),
cause: Some(
Ssl(
ErrorStack(
[
Error {
code: 336134278,
library: "SSL routines",
function: "ssl3_get_server_certificate",
reason: "certificate verify failed",
file: "s3_clnt.c",
line: 1269
}
]
)
)
)
}
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment