Added SAN to the example openssl command#12258
Merged
Merged
Conversation
This ensures that the Home Assistant Companion on Android 10 (this is what I tested) will correctly connect to the local Home Assistant instance. This is due to compliance with RFC 2818, which states that support for CN fallback is deprecated and only SAN should be used to establish whether a certificate is valid or not.
felipediel
pushed a commit
to felipediel/home-assistant.io
that referenced
this pull request
Mar 6, 2020
* Added SAN to the example openssl command This ensures that the Home Assistant Companion on Android 10 (this is what I tested) will correctly connect to the local Home Assistant instance. This is due to compliance with RFC 2818, which states that support for CN fallback is deprecated and only SAN should be used to establish whether a certificate is valid or not. * ✏️ Tweaks * Update tls_self_signed_certificate.markdown Co-authored-by: Franck Nijhof <frenck@frenck.nl>
felipediel
pushed a commit
to felipediel/home-assistant.io
that referenced
this pull request
Mar 6, 2020
* Added SAN to the example openssl command This ensures that the Home Assistant Companion on Android 10 (this is what I tested) will correctly connect to the local Home Assistant instance. This is due to compliance with RFC 2818, which states that support for CN fallback is deprecated and only SAN should be used to establish whether a certificate is valid or not. * ✏️ Tweaks * Update tls_self_signed_certificate.markdown Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed change
This ensures that the Home Assistant Companion on Android 10 and iOS 13 (this is what I tested) will correctly connect to the local Home Assistant instance without blocking the connection due to an SSL error.
This is due to compliance with RFC 2818, which states that support for CN fallback (that is the only parameter we are allowed to set with the current openssl command in the docs) is deprecated and only SAN should be used to establish whether a certificate is valid for a certain host or not.
Type of change
currentbranch).currentbranch).nextbranch).nextbranch).Additional information
Checklist
currentbranch.nextbranch.