feat(tls): update schema for TLS keyusage
This commit is contained in:
parent
aa25e3badd
commit
c5dccdf526
|
@ -2186,6 +2186,14 @@ common_ssl_opts_schema(Defaults, Type) ->
|
||||||
desc => ?DESC(common_ssl_opts_schema_partial_chain)
|
desc => ?DESC(common_ssl_opts_schema_partial_chain)
|
||||||
}
|
}
|
||||||
)},
|
)},
|
||||||
|
{"verify_peer_ext_key_usage",
|
||||||
|
sc(
|
||||||
|
string(),
|
||||||
|
#{
|
||||||
|
required => false,
|
||||||
|
desc => ?DESC(common_ssl_opts_verify_peer_ext_key_usage)
|
||||||
|
}
|
||||||
|
)},
|
||||||
{"reuse_sessions",
|
{"reuse_sessions",
|
||||||
sc(
|
sc(
|
||||||
boolean(),
|
boolean(),
|
||||||
|
|
|
@ -690,6 +690,12 @@ common_ssl_opts_schema_partial_chain.desc:
|
||||||
common_ssl_opts_schema_partial_chain.label:
|
common_ssl_opts_schema_partial_chain.label:
|
||||||
"""Partial chain"""
|
"""Partial chain"""
|
||||||
|
|
||||||
|
common_ssl_opts_verify_peer_ext_key_usage.desc:
|
||||||
|
"""Verify Extended Key Usage in Peer's certificate"""
|
||||||
|
|
||||||
|
common_ssl_opts_verify_peer_ext_key_usage.label:
|
||||||
|
"""Verify KeyUsage in cert"""
|
||||||
|
|
||||||
fields_listeners_ssl.desc:
|
fields_listeners_ssl.desc:
|
||||||
"""SSL listeners."""
|
"""SSL listeners."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue