question

johnjohn-0472 avatar image
0 Votes"
johnjohn-0472 asked sikumars commented

Upload a real certificate when registering an Active Directory application

I am reading this link @ https://sharepointstew.wordpress.com/2021/07/07/app-only-authentication-in-sharepoint-online-using-latest-azure-sdk/ which show how we can associate a self-signed certificate with an Active Directory registered application. but my question is if we want to use this application for production environment, so what are the steps to upload a real certificate instead of using self-signed certificate?
Thanks

azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking in to see if the below answer helped. If this answers your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
Thanks,

0 Votes 0 ·

1 Answer

sikumars avatar image
0 Votes"
sikumars answered

Hello @johnjohn-0472,

You can use an existing X.509 certificate if you have one instead using self-signed certificate, upload a certificate (public key) with one of the following file types: .cer, .pem, .crt .

The steps would remains same whereas In the Azure app registration for the client application:

  • Select Certificates & secrets.

  • Click on Upload certificate and select the certificate file to upload.

  • Click Add. Once the certificate is uploaded, the thumbprint, start date, and expiration values are displayed.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-1-upload-a-certificate

Hope this helps.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.