Hi @Claire Morgan,
As I understand, you have created a new Application Gateway and successfully attached the NICs. However, the configuration is failing during certificate upload.
The error Data for certificate ... is invalid
is getting while uploading the certificate to the application gateway is due to the following reason:
- The certificate file is malformed or not in PFX format.
- The password provided is wrong or missing.
- The name contains invalid characters (some special chars are not allowed).
You can try uploading the certificate using the following CLI command:
az network application-gateway ssl-cert create -g MyResourceGroup --gateway-
name MyAppGateway -n MySSLCert --cert-file FilePath --cert-password Abc123
If you are using a self-signed certificate, you can generate a new certificate and upload it again by following this documentation: Configure an Application Gateway with TLS termination using the Azure portal
Reference:
Configure end to end TLS by using Application Gateway with PowerShell
Create an application gateway configuration object
I hope this helps to resolve your issue. Please feel free to ask any questions if the solution provided isn't helpful.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.