Register Inforiver App with Certificate
Last updated
Last updated
Registering your application is essential for establishing a trust relationship between your application and the Microsoft identity platform. This guide instructs you to register your Inforiver application with a self-signed certificate.
To create a self-signed public certificate, please follow the official documentation
The first step in registering an application with the self-signed certificate is to register a new application in your Azure AD.
Log in to your Azure Portal.
Click on Manage Azure Active Directory from the menu tab.
Click App registrations in the left sub-menu.
Click the New registration tab in the top menu bar as shown in the screenshot below.
Enter an application name to be displayed to the users.
In the section 'Who can use this application', select Accounts in this organizational directory only.
You can skip the 'Redirect URI' section for now. We can provide this after getting the URL of the application.
Click Register to register the application.
Finally, upload your self-signed certificate to the certificate section, as described in the steps below.
Select Certificates & secrets > Certificates > Upload certificate.
Select the file you want to upload. It must be one of the following file types: .cer, .pem, or .crt.
Select Add.
To make changes to your environment, go to your app service's Environment variables section.
In the Environment variables section, add the following envs:
O365_APP_CERTIFICATE_CREDENTIALS
O365_APP_PRIVATE_KEY
O365_APP_CERTIFICATE_THUMBPRINT
On O365_APP_CERTIFICATE_CREDENTIALS, the value should be the self-signed certificate body. The values should be given as shown below.
The value for O365_APP_PRIVATE_KEY should be the self-signed certificate's private key. The values should be given as shown below.
The value for O365_APP_CERTIFICATE_THUMBPRINT should be the thumbprint value of the self-signed certificate. This can be obtained from the Azure AD application - Certificate section.
Once all three environment variables have been added, save the settings, and the app service will restart to reflect the changes.
By following the above steps, you can run the Inforiver application registered with the certificate.
Register app:
Create self-signed certificate: