How to import SSL cert from KeyVault when it's a secret, not a cert?
I purchased an ssl cert through Azure.
it seems ok when i view the details of the cert. As in,
--Its successfully imported to the KeyVault
--Domain Ownership was verified
--Cert ready to use in App Service
I would, in theory, follow these instructions:
Click the App Service option on the left side of the page.
- Click the name of your app to which you want to assign this certificate.
- In the Settings, Click Custom domains and SSL.
- In the certificates section, click Import Certificate and select the Certificate that you just purchased.
- In the ssl bindings section of the SSL Settings tab, use the drop downs to select the domain name to secure with SSL, and the certificate to use.
Click Save to save the changes and enable SSL.
Now, I tried to go "Custom Domains>>...[www.mysite.com]>>update binding" and i cannot find the cert there.
But i wasnt confident in that approach anyways.
Next, I tried "Certificates>>Bring your own...>>Add certificate" and in blade, "Source>>Import from KeyVault>>Select KeyVault Certificate". The blade switches, where I choose "Subscription>>[my keyVault]>>___" and then there are no certificates to select from.
After looking into the keyVault and the cert, i realized that the cert isn't stored as a cert in the keyVault, but as a "secret", which may be why it's not appearing in the drop down?