@Hariprasad Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
You can create public certificate to your web app either through portal or ARM /Bicep Template or through Rest API and below are the respective resources:
- Upload Public certificate through portal.
- ARM template/Bicep Template.
- Web Apps - Create Or Update Public Certificate
Currently we don't have a specific cmdlet in Power Shell( Az.Websites module) or AzCLI to create a public certificate.
Alternatively, if you want to create a public certificate through PowerShell/Az CLI I would suggest you call the above Rest API through either of these az rest/ Inovke-RestMethod methods.
If you still looking for a specific cmdlet to create a public certificate to webapp using PowerShell/ Az CLI I would suggest you raise a feature request in Azure/Azure-cli github repro here.
Feel free to reach back to me if you have any further questions on this.
I don't see a cmdlet to process a public certificate with .cer extension. However, it's available through portal as below:
Your pfx file can be uploaded and attached to the webapp through Azure CLI. Details are given in the below link:
Upload and bind the SSL certificate
--please don't forget to
Accept as answerif the reply is helpful--
I hope the answer helps. Please let me know if you have any further queries.
Please accept as "Yes" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.
Sign in to comment