Skip to content

[v14] Fix self-signed cert validity on macOS systems#33156

Merged
zmb3 merged 1 commit intobranch/v14from
bot/backport-32698-branch/v14
Oct 10, 2023
Merged

[v14] Fix self-signed cert validity on macOS systems#33156
zmb3 merged 1 commit intobranch/v14from
bot/backport-32698-branch/v14

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Oct 9, 2023

Backport #32698 to branch/v14

As per https://support.apple.com/en-in/HT210176:

> TLS server certificates must contain an ExtendedKeyUsage (EKU)
  extension containing the id-kp-serverAuth OID.

We were not specifying this EKU.

Validated by checking with the old self-signed certs:

    $ security verify-cert -c webproxy_cert.pem -p ssl -r webproxy_cert.pem
    Cert Verify Result: Invalid Extended Key Usage for policy

And then repeating the process after this change:

    $ security verify-cert -c webproxy_cert.pem -p ssl -r webproxy_cert.pem
    ...certificate verification successful.

Closes #32531
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from reedloden October 9, 2023 17:32
@zmb3 zmb3 added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 9, 2023
@zmb3 zmb3 added this pull request to the merge queue Oct 9, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 9, 2023
@zmb3 zmb3 added this pull request to the merge queue Oct 10, 2023
Merged via the queue into branch/v14 with commit 67a6992 Oct 10, 2023
@zmb3 zmb3 deleted the bot/backport-32698-branch/v14 branch October 10, 2023 04:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants