Cloud deployment guide

Using Your Own SSL Certificate on Azure and Google Cloud

Azure and Google Cloud both offer free managed certificates, but only for some services and only at DV level. This guide shows how to bring your own Azure SSL certificate or Google Cloud certificate, in the right format, and when that is worth it.

To use your own Azure SSL certificate, you upload it as a password-protected PFX file (a single file that bundles certificate, chain and private key) to App Service, Application Gateway or Azure Key Vault. On Google Cloud, you upload the certificate and an unencrypted private key as PEM files (Base64 text files) to a load balancer or Certificate Manager.

Both clouds also issue free managed DV certificates for some services. You buy your own when you need OV or EV validation, wildcards where managed certificates don’t offer them, or one certificate you can move between providers.

ServiceYour own certificateFormat
Azure App ServiceUpload or import from Key VaultPassword-protected PFX with full chain
Azure Application GatewayUpload to listener or reference Key VaultPFX with password
Azure virtual machineInstall in the web server like any serverDepends on the server software
Google Cloud load balancerCompute SSL certificate or Certificate ManagerPEM certificate (with chain) + PEM key without passphrase

Bring a verified certificate to any cloud

OV certificates name your organization and move with you between Azure, Google Cloud, AWS and your own servers.

Compare OV SSL

Azure SSL certificate options: managed or your own?

Azure App Service offers a free managed certificate for custom domains, and you can also upload or import your own. As of October 2026, Microsoft documents that the free App Service managed certificate is issued by DigiCert, does not support wildcards, cannot be exported and is not available in App Service Environment.

Your own certificate removes those limits. It also lets you use the same certificate on Application Gateway, a virtual machine or another cloud. Azure DNS only hosts your DNS zone; it does not issue certificates, but you can add your CA’s DNS validation record there.

Azure SSL certificate needManaged App Service certificateYour own certificate
Simple custom domain on App ServiceYesYes
WildcardNoYes
OV or EV validationNo (DV only)Yes
Export and reuse elsewhereNoYes
App Service EnvironmentNoYes

How to upload your own certificate to Azure App Service

You upload your own certificate to Azure App Service as a password-protected PFX file that contains the server certificate, all intermediate certificates and the private key. Then you bind it to your custom domain.

Microsoft lists these requirements for a private certificate used to secure a custom domain: password-protected PFX, full chain included, an extended key usage for server authentication, and a trusted CA signature. Every SSL/TLS certificate sold on BUY-SSL.com is issued by a publicly trusted CA for server authentication. Your App Service plan must be on the Basic tier or higher.

Upload your own certificate to Azure App Service

  1. Create the key and CSR

    Generate a private key and CSR for your domain, for example with our CSR generator, and keep the key safe.

  2. Validate and download

    Complete DV or OV validation, then download the certificate and the CA's intermediate certificates.

  3. Build a PFX with password

    Combine certificate, intermediates and private key into one password-protected PFX file.

  4. Upload and bind

    Add the PFX in your app's certificate settings, then create a TLS/SSL binding for the custom domain.

Our CSR generator creates the key pair and signing request in the browser. If you prefer the command line, OpenSSL builds the PFX in one step:

openssl pkcs12 -export -out example.pfx -inkey example.key -in example.crt -certfile intermediate.crt

OpenSSL asks for an export password; App Service needs it during upload. For more format conversions, see our SSL decoder.

Tip: Store the PFX in Azure Key Vault instead of uploading it to each app. App Service can import a PKCS12 certificate from Key Vault and, per Microsoft, syncs a renewed certificate version within 24 hours. That also keeps the file out of Azure DevOps repositories and pipeline variables.

Azure Application Gateway and virtual machines

Application Gateway accepts your certificate in two ways: a PFX file uploaded directly to the listener with its password, or a reference to a PFX stored in Key Vault. Key Vault is the better long-term choice, because renewing means updating one secret instead of every gateway.

On an Azure virtual machine, nothing is Azure-specific. You install the certificate in IIS, Apache or Nginx exactly as on any server; our guide on how to install an SSL certificate covers each one.

Google Cloud SSL certificates for load balancers

Google Cloud load balancers accept two kinds of certificates: Google-managed DV certificates that Google requests and renews for you, and self-managed certificates that you upload. Certificate Manager supports both for most load balancer types.

To create a Google-managed certificate on a global external Application Load Balancer, you list the domains:

gcloud compute ssl-certificates create www-cert --domains=www.example.com,example.com --global

To upload your own certificate, point to the PEM files instead:

gcloud compute ssl-certificates create own-cert --certificate=fullchain.pem --private-key=example.key --global

Google’s documentation sets three conditions for self-managed certificates: PEM format, a private key without passphrase, and an RSA or ECDSA key. Google does not validate the chain for you, so put your server certificate first and the intermediates after it in the certificate file. Google-managed Compute Engine certificates are not supported on regional and cross-region internal load balancers; use self-managed certificates or Certificate Manager there.

OV certificates you can use on Azure and Google Cloud

Are Google-managed certificates free?

Yes, for the certificate itself within Google Cloud load balancers, as of October 2026. Through Certificate Manager, Google lists the first 100 certificates per project as free; larger volumes and some key types and mTLS traffic are billed. Check Google’s Certificate Manager pricing page for current terms.

The free part covers DV only. A Google-managed certificate never names your organization, and Google requests and serves it only on Google Cloud services.

Which format do Azure and Google Cloud need: PFX or PEM?

Azure needs PFX, and Google Cloud needs PEM. CAs usually deliver PEM files (.crt or .pem), so for Azure you convert them to PFX; for Google Cloud you upload them as they are.

PlatformFormatPrivate keyChain
Azure App ServicePFX (PKCS#12)Inside the PFX, password-protectedFull chain inside the PFX
Azure Application GatewayPFXInside the PFX, password requiredInclude intermediates
Google Cloud load balancerPEMSeparate PEM file, no passphraseAppend intermediates to the certificate file

When should you buy instead of using managed certificates?

Buy your own certificate when you need OV or EV validation, a wildcard on App Service, or one certificate you can carry between Azure, Google Cloud, AWS and on-premises servers. Managed certificates are DV-only and tied to one platform.

Good fit for a purchased certificatePick a managed certificate if
Customers or auditors expect your verified company nameA DV certificate meets every requirement you have
You need a wildcard on Azure App ServiceAll traffic ends on one Google or Azure service
The same hostnames run on several clouds or serversYou never need to export the key
You want one CA, one renewal and one support contactAutomatic renewal by the platform is your top priority

For the general trade-offs, see free vs paid SSL. If part of your stack runs on Amazon, our guide to paid SSL on AWS covers ACM import, load balancers and CloudFront.

Renewing your own certificate in the cloud

As of October 2026, publicly trusted TLS certificates last at most 200 days. That drops to 100 days on 15 Mar 2027 and to 47 days on 15 Mar 2029, so uploaded certificates must be replaced several times a year.

Keep each certificate in one place, such as Azure Key Vault or Google Certificate Manager, and point services at it. A 1-, 2- or 3-year plan at BUY-SSL is a subscription term with free reissues; each certificate issued under it follows the maximum lifetime, so plan for regular reissue and upload.

Use a verified OV certificate on every cloud

Compare OV certificates from DigiCert, Sectigo, GeoTrust and Thawte with live prices.

Compare OV SSL

Products

Categories

  • OV SSL Certificates

    Organization Validation SSL for businesses that want the organization behind a website to be…

    from $41.99
  • Wildcard SSL Certificates

    Protect eligible subdomains under one base domain and simplify certificate management for multi-subdomain websites.

    from $20.99
  • EV SSL Certificates

    Extended Validation certificates for organizations that require a more extensive identity verification process.

    from $105.99

Related articles

Frequently asked questions

Are Google-managed certificates free?

Yes, as of October 2026 the certificate itself costs nothing when used with Google Cloud load balancers. Through Certificate Manager, Google lists the first 100 certificates per project as free, with charges for larger volumes, certain key types and mTLS traffic. Google-managed certificates are DV only and are served only on Google Cloud, so they never name your organization. Check Google's pricing page for current terms.

How do I upload my own certificate to Azure App Service?

Combine your certificate, the intermediate certificates and the private key into one password-protected PFX file. In your app's certificate settings, upload the PFX and enter its password, then add a TLS/SSL binding for your custom domain. Your App Service plan must be Basic tier or higher. You can also store the PFX in Azure Key Vault and import it from there.

When should I buy instead of using managed certs?

Buy your own certificate when you need OV or EV validation, a wildcard on Azure App Service, or a certificate you can move between Azure, Google Cloud, AWS and your own servers. Managed certificates are DV only and tied to one platform; Azure's App Service certificate cannot be exported. If a DV certificate on one service is all you need, the managed option is usually simpler.

Which format do Azure/GCP need?

Azure needs PFX: a password-protected PKCS#12 file containing the certificate, intermediates and private key. Google Cloud needs PEM: the certificate with intermediates appended in one file, plus a separate private key without passphrase. Certificate authorities usually deliver PEM files, so you upload them directly to Google Cloud and convert them to PFX with OpenSSL for Azure.