Skip to main content

© Securetron Inc. All rights reserved.

SaaS | Enterprise | Community Edition

Deploy Securetron PKI Trust Manager CertAPI To Azure Cloud

Quick guidde

This tutorial guides you through deploying the Securetron PKI Trust Manager CertAPI to the Azure Cloud environment. You will configure container app settings, registry details, ingress rules, and complete the deployment process. The Cert API provides SCEP, EST, ACME, and RESTful API interface for automation

Azure Portal

1. Select Container App Option

Click the Container App option to initiate creating a new container application.

Select Container App Option

2. Access Container App Name Field

Click the container app name field to specify the name for your new container app. Enter your container app name to identify the deployment such as pki-trust-manager-cert-api

Access Container App Name Field

3. Proceed To Container Settings

Click Next to move forward to configuring container-specific settings.

Proceed To Container Settings

4. Registry Login Server

Enter the registry login server address, such as securetron.azurecr.io to connect to the securetron container registry.

Registry Login Server

5. Image & Tag

Enter the Image and Tag such as certapiee:latest

Image & Tag

6. Choose .NET Stack

Select the .NET development stack to optimize the container.

Choose .NET Stack

7. Environment Variables

Enter the Environment variables such as ConnectionStrings__OurDBContext, to link your app to the database. Additional variables are listed below

  • Smtp__Server=Your_SMTP_Server_FQDN
  • Smtp__Auth=true
  • Smtp__SenderName=PKI-Trust-Manager-CertAPI
  • Smtp__SenderAddress=[email protected]
  • Smtp__ReceiverAddressOnError=[email protected]
  • Smtp__ReceiverAddressOnEvent=[email protected]
  • Smtp__Port=Your_SMTP_Server_Port
  • Smtp__Username=Your_SMTP_Username
  • Smtp__Password=Your_SMTP_Password
  • Smtp__EnableSsl=true

Environment Variables

8. Proceed To Ingress Settings

Click Next to configure network traffic and access rules for your container app.

Proceed To Ingress Settings

9. Enable Ingress

Turn on ingress to allow your container app to receive network traffic.

Enable Ingress

10. Enable Traffic Acceptance

Turn on the setting to accept traffic from all sources for your container app.

Enable Traffic Acceptance

11. Enable Session affinity

Enable Session affinity to ensure connection persistence

Enable Session affinity

12. Proceed To Tags Section

Click Next to add metadata tags for organizing your container app.

Proceed To Tags Section

13. Go To Review And Create

Click Next to review your configuration before deployment.

Go To Review And Create

14. Confirm Validation Passed

Passed should be displayed that confirms your container app configuration has no errors.

Confirm Validation Passed

15. Initiate Container App Creation

Click Create to start deploying your configured container app to Azure.

Initiate Container App Creation

16. Confirm Deployment Completion

Your deployment should complete and your container has been successfully deployed

Confirm Deployment Completion

17. Access Deployed Resource

Click Go to resource to open the deployed container app’s resource page.

Access Deployed Resource

18. Open Application URL

Click Application Url to view the public endpoint of your deployed container app.

Open Application URL

19. Switch To Application Tab

Switch to the browser tab displaying your container app’s URL. You should see the on-screen message

Switch To Application Tab

20. View Health Status Response

add forward slash health to the URL and hit enter. This should provide the health of the container

View Health Status Response

You have successfully deployed the Securetron PKI Trust Manager Cert API to Azure Cloud by configuring container settings, registry access, ingress rules, and completing the deployment. The Cert API is used for applications, networks, servers, and devops to automate Certificate Lifecycle Management via SCEP, EST, ACME, and RESTful API. For more information please visit our website at https://securetron.net or contact support.