Terraform code for appgw backend settings to bypass cert verify

Srinu P 0 Reputation points
2025-11-04T00:25:37.87+00:00

i need terraform code for appgw backend settings to disable cert chain verify and only check SNI.

in web ui app gateway backend settings, we have option as configurable which has option to disable certificate verify of backend server.

I tried below code but didn't work.

trusted_root_certificate_names = null # Disable certificate chain validation

authentication_certificates = null # No client authentication certificates

verify_certificate_name = true # SNI validation enabled

validate_cert_chain_and_expiry = false # disables cert chain and expiry validation

validate_sni = true

as per this article https://github.com/hashicorp/terraform-provider-azurerm/issues/30617 the code is not ready. anyone using any other method to push via terraform code

Azure
Azure

A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.