After creating a Certificate Signing Request (CSR) and importing the signed certificate into Avi Controller, the new certificate is not visible in the dropdown list when attempting to attach it to a Virtual Service (VS).
This issue typically occurs if the certificate was not generated as an Application Certificate (Virtual Service type).
Avi UI allows three types of certificate/csr creations:
For virtual service consumption, the certificate should be an application certificate.
To check the certificate type, you can use the command : > show sslkeyandcertificate <cert name> | grep type.
Sample screenshot below :
To resolve this, you must generate a new CSR or certificate specifically for application use.
Reference Techdoc: SSL-certificates