-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for expired CA certificates in requests
With OTP 24, an expired CA in the chain needs to be handled explicitly. In our case, an expired CA may still be presented in the chain for already registered device certs and CA certs in which we should still allow the connection. This change adds a lookup for the expired certificate to see if it is a CA we already know about then allows the connection if it is. This should be safe as any attempts to use this expired CA will still fail later one once the new device certificate is presented and goes through validation
- Loading branch information
1 parent
9a24e97
commit e67f4a6
Showing
2 changed files
with
75 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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