Skip to content

Allow to continue on UNABLE_TO_VERIFY_LEAF_SIGNATURE#13083

Closed
misery wants to merge 1 commit intoopenssl:masterfrom
misery:leaf_master
Closed

Allow to continue on UNABLE_TO_VERIFY_LEAF_SIGNATURE#13083
misery wants to merge 1 commit intoopenssl:masterfrom
misery:leaf_master

Conversation

@misery
Copy link
Copy Markdown
Contributor

@misery misery commented Oct 6, 2020

This unifies the behaviour of a single certificate with
an unknown CA certificate with a self-signed certificate.
The user callback can mask that error to retrieve additional
error information. So the user application can decide to
abort the connection instead to be forced by openssl.

This change in behaviour is backward compatible as user callbacks
who don't want to ignore UNABLE_TO_VERIFY_LEAF_SIGNATURE will
still abort the connection by default.

CLA: trivial
Fixes #11297

This unifies the behaviour of a single certificate with
an unknown CA certificate with a self-signed certificate.
The user callback can mask that error to retrieve additional
error information. So the user application can decide to
abort the connection instead to be forced by openssl.

This change in behaviour is backward compatible as user callbacks
who don't want to ignore UNABLE_TO_VERIFY_LEAF_SIGNATURE will
still abort the connection by default.

CLA: trivial
Fixes openssl#11297
@DDvO
Copy link
Copy Markdown
Contributor

DDvO commented Oct 6, 2020

This is a "forward-"port of #11359 to master.

Copy link
Copy Markdown
Contributor

@DDvO DDvO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t8m t8m added approval: done This pull request has the required number of approvals branch: master Applies to master branch cla: trivial One of the commits is marked as 'CLA: trivial' labels Oct 7, 2020
@t8m
Copy link
Copy Markdown
Member

t8m commented Oct 7, 2020

I agree with CLA:trivial

@openssl openssl deleted a comment from andwat18 Oct 7, 2020
@openssl-machine
Copy link
Copy Markdown
Collaborator

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

openssl-machine pushed a commit that referenced this pull request Oct 8, 2020
This unifies the behaviour of a single certificate with
an unknown CA certificate with a self-signed certificate.
The user callback can mask that error to retrieve additional
error information. So the user application can decide to
abort the connection instead to be forced by openssl.

This change in behaviour is backward compatible as user callbacks
who don't want to ignore UNABLE_TO_VERIFY_LEAF_SIGNATURE will
still abort the connection by default.

CLA: trivial
Fixes #11297

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from #13083)
@DDvO
Copy link
Copy Markdown
Contributor

DDvO commented Oct 8, 2020

Merged - thanks!

@DDvO DDvO closed this Oct 8, 2020
@misery misery deleted the leaf_master branch October 8, 2020 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approval: done This pull request has the required number of approvals branch: master Applies to master branch cla: trivial One of the commits is marked as 'CLA: trivial'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Continue on UNABLE_TO_VERIFY_LEAF_SIGNATURE

4 participants