-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix AWS TLS Expired Server Cert test #58
Fix AWS TLS Expired Server Cert test #58
Conversation
* can be a configuration used: | ||
* | ||
*/ | ||
#define democonfigLIST_OF_TIME_SERVERS "pool.ntp.org" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should consider using time.aws.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@archigup The coreSNTP example was used as reference for this implementation. I think, it's a good idea to switch to time.aws.com
. Are there any prerequisites for using time.aws.com
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've switched to use time.aws.com
and it seems to be working without any modifications needed.
eafb9b8
to
4ecfe79
Compare
4ecfe79
to
e7800bd
Compare
@archigup @chinglee-iot @aggarg |
Fix `descrived` typo. Signed-off-by: Dávid Házi <[email protected]>
Add latest LTS release of coreSNTP FreeRTOS library to the FRI to be used for synchronisng embedded targets clock time. Signed-off-by: Ahmed Ismail <[email protected]>
This helper library shall be used with any FRI application to add real clock time synchronisation for the target. This addition is needed to fix AWS TLS Expired Server Cert test which is part of AWS Device Advisor Validation tests as this test requires the device under test to have synchronised real time clock to be able to detect that the server's certificate is expired and reject it. Signed-off-by: Ahmed Ismail <[email protected]>
Add real clock time synchronisation to keyword-detection application by using `coresntp` and `helpers-time-sync` libraries This would require using MbedTLS time functions alternatives to query the correct synchronised real clock time. This addition would fix AWS TLS Expired Server Cert test as previously, wrong clock time was fetched which result in using expired server certificate. Now, correct clock time would be fetched which results in target rejecting the server's expired certificate which in turn fixes the test. Signed-off-by: Ahmed Ismail <[email protected]>
e7800bd
to
166e211
Compare
Description
This PR includes the following:
Notes:
Test Steps
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.