The requirement is to configure multiple SNI profiles, while default one has set "requireSNI": true. This is needed for a use case where traffic that doesn't match to SNI (server name non exist or not match) is rejected:
When a client sends no or unknown SNI and Require SNI is false (default), the system uses the primary certificate, otherwise the system rejects the client
2. Observe the following error response:
```json
{
"code": 422,
"message": "declaration failed",
"response": "0107150a:3: SNI require is enabled on clientssl/serverssl profile /sni_tenant/sni_app/client_ssl_profile-1- yet SNI default is not enabled.",
"host": "localhost",
"tenant": "sni_tenant",
"runTime": 1774,
"declarationId": "autogen_fc229ddb-7361-4789-8bb6-cf2e89273730"
}
This works in TMSH if "requireSNI": false :
root@(bigip1)(cfg-sync In Sync)(Active)(/sni_tenant/sni_app)(tmos)# list ltm profile client-ssl client_ssl_profile sni-require
ltm profile client-ssl client_ssl_profile {
sni-require false
}
root@(bigip1)(cfg-sync In Sync)(Active)(/sni_tenant/sni_app)(tmos)# modify ltm profile client-ssl client_ssl_profile sni-require true
root@(bigip1)(cfg-sync In Sync)(Active)(/sni_tenant/sni_app)(tmos)# list ltm profile client-ssl client_ssl_profile sni-require
ltm profile client-ssl client_ssl_profile {
sni-require true
}
Expected Behavior
Allow default SNI profile set to require SNI, currently "requireSNI" seems to be propagated to all profiles automatically created based on "certificates": [] list which is incorrect behavior.
Actual Behavior
Declaration returns error, it works in TMSH/GUI but not using AS3
Environment
Summary
The requirement is to configure multiple SNI profiles, while default one has set "requireSNI": true. This is needed for a use case where traffic that doesn't match to SNI (server name non exist or not match) is rejected:
https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/refguide/schema-reference.html#tls-server
Steps To Reproduce
Steps to reproduce the behavior:
This works in TMSH if
"requireSNI": false
:Expected Behavior
Allow default SNI profile set to require SNI, currently
"requireSNI"
seems to be propagated to all profiles automatically created based on"certificates": []
list which is incorrect behavior.Actual Behavior
Declaration returns error, it works in TMSH/GUI but not using AS3