Description
stir_shaken.conf
[attestation]
STIR/SHAKEN attestation options
global_disable- Globally disable verificationprivate_key_file- File path to a certificatepublic_cert_url- URL to the public certificateattest_level- Attestation levelunknown_tn_attest_level- Attestation level to use for unknown TNscheck_tn_cert_public_url- On load, Retrieve all TN's certificates and validate their datessend_mky- Send a media key (mky) grant in the attestation for DTLS calls. (not common)
[tn]
STIR/SHAKEN TN options
type- Must be of type 'tn'.private_key_file- File path to a certificatepublic_cert_url- URL to the public certificateattest_level- Attestation levelcheck_tn_cert_public_url- On load, Retrieve all TN's certificates and validate their datessend_mky- Send a media key (mky) grant in the attestation for DTLS calls. (not common)
[verification]
STIR/SHAKEN verification options
global_disable- Globally disable verificationload_system_certs- A boolean indicating whether trusted CA certificates should be loaded from the systemca_file- Path to a file containing one or more CA certs in PEM formatca_path- Path to a directory containing one or more hashed CA certscrl_file- Path to a file containing one or more CRLs in PEM formatcrl_path- Path to a directory containing one or more hashed CRLsuntrusted_cert_file- Path to a file containing one or more untrusted cert in PEM format used to verify CRLsuntrusted_cert_path- Path to a directory containing one or more hashed untrusted certs used to verify CRLscert_cache_dir- Directory to cache retrieved verification certscurl_timeout- Maximum time to wait to CURL certificatesmax_cache_entry_age- Number of seconds a cache entry may be behind current timemax_cache_size- Maximum size to use for caching public keysmax_iat_age- Number of seconds an iat grant may be behind current timemax_date_header_age- Number of seconds a SIP Date header may be behind current timefailure_action- The default failure action when not set on a profileuse_rfc9410_responses- RFC9410 uses the STIR protocol on Reason headers instead of the SIP protocolignore_sip_date_header- When set to true, will cause the verification process to not consider a missing or invalid SIP "Date" header to be a failure. This will make the IAT the sole "truth" for Date in the verification process.relax_x5u_port_scheme_restrictions- Relaxes check for "https" and port 443 or 8443 in incoming Identity header x5u URLs.relax_x5u_path_restrictions- Relaxes check for query parameters, user/password, etc. in incoming Identity header x5u URLs.x5u_acl- An existing ACL from acl.conf to use when checking hostnames in incoming Identity header x5u URLs.x5u_permit- An IP or subnet to permit when checking hostnames in incoming Identity header x5u URLs.x5u_deny- An IP or subnet to deny checking hostnames in incoming Identity header x5u URLs.
[profile]
STIR/SHAKEN profile configuration options
type- Must be of type 'profile'.load_system_certs- A boolean indicating whether trusted CA certificates should be loaded from the systemca_file- Path to a file containing one or more CA certs in PEM formatca_path- Path to a directory containing one or more hashed CA certscrl_file- Path to a file containing one or more CRLs in PEM formatcrl_path- Path to a directory containing one or more hashed CRLsuntrusted_cert_file- Path to a file containing one or more untrusted cert in PEM format used to verify CRLsuntrusted_cert_path- Path to a directory containing one or more hashed untrusted certs used to verify CRLscert_cache_dir- Directory to cache retrieved verification certscurl_timeout- Maximum time to wait to CURL certificatesmax_iat_age- Number of seconds an iat grant may be behind current timemax_date_header_age- Number of seconds a SIP Date header may be behind current timeignore_sip_date_header- When set to true, will cause the verification process to not consider a missing or invalid SIP "Date" header to be a failure. This will make the IAT the sole "truth" for Date in the verification process.max_cache_entry_age- Number of seconds a cache entry may be behind current timemax_cache_size- Maximum size to use for caching public keysfailure_action- The default failure action when not set on a profileuse_rfc9410_responses- RFC9410 uses the STIR protocol on Reason headers instead of the SIP protocolrelax_x5u_port_scheme_restrictions- Relaxes check for "https" and port 443 or 8443 in incoming Identity header x5u URLs.relax_x5u_path_restrictions- Relaxes check for query parameters, user/password, etc. in incoming Identity header x5u URLs.x5u_acl- An existing ACL from acl.conf to use when checking hostnames in incoming Identity header x5u URLs.x5u_permit- An IP or subnet to permit when checking hostnames in incoming Identity header x5u URLs.x5u_deny- An IP or subnet to deny checking hostnames in incoming Identity header x5u URLs.check_tn_cert_public_url- On load, Retrieve all TN's certificates and validate their datesprivate_key_file- File path to a certificatepublic_cert_url- URL to the public certificateattest_level- Attestation levelunknown_tn_attest_level- Attestation level to use for unknown TNssend_mky- Send a media key (mky) grant in the attestation for DTLS calls. (not common)endpoint_behavior- Actions performed when an endpoint references this profile
User Notes
No notes yet. Be the first to contribute a tip or example.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
Module Configuration
app_agent_pool
app_confbridge
app_skel
cdr
cel
chan_motif
chan_websocket
codec_opus
core
features
named_acl
res_aeap
res_ari
res_geolocation
res_hep
res_http_media_cache
res_mwi_external
res_parking
res_pjproject
res_pjsip
res_pjsip_acl
res_pjsip_config_wizard
res_pjsip_endpoint_identifier_ip
res_pjsip_notify
res_pjsip_outbound_publish
res_pjsip_outbound_registration
res_pjsip_phoneprov_provider
res_pjsip_publish_asterisk
res_pjsip_pubsub
res_prometheus
res_resolver_unbound
res_statsd
res_stir_shaken
res_websocket_client
res_xmpp
stasis
udptl