|
|
@@ -563,6 +563,22 @@ menu "mbedTLS"
|
|
|
Client support for RFC 5077 session tickets. See mbedTLS documentation for more details.
|
|
|
Disabling this option will save some code size.
|
|
|
|
|
|
+ config MBEDTLS_X509_CHECK_KEY_USAGE
|
|
|
+ bool "Enable verification of the keyUsage extension"
|
|
|
+ default y
|
|
|
+ depends on MBEDTLS_TLS_ENABLED
|
|
|
+ help
|
|
|
+ Disabling this avoids problems with mis-issued and/or misused (intermediate) CA and leaf certificates.
|
|
|
+ Depending on your PKI use, disabling this can be a security risk.
|
|
|
+
|
|
|
+ config MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
|
|
|
+ bool "Enable verification of the extendedKeyUsage extension"
|
|
|
+ default y
|
|
|
+ depends on MBEDTLS_TLS_ENABLED
|
|
|
+ help
|
|
|
+ Disabling this avoids problems with mis-issued and/or misused certificates.
|
|
|
+ Depending on your PKI use, disabling this can be a security risk.
|
|
|
+
|
|
|
config MBEDTLS_SERVER_SSL_SESSION_TICKETS
|
|
|
bool "TLS: Server Support for RFC 5077 SSL session tickets"
|
|
|
default y
|