Microsoft Entra Global Secure Access
Security

Configure TLS inspection with your own certificate

In brief

The article now focuses on bringing your own certificate authority for TLS inspection, including CSR creation, PKI signing, and certificate upload. It also links to separate Microsoft-managed certificate guidance.

What Entra admins need to know

Administrators using their own PKI can follow the clarified certificate workflow; no action is required.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Configure Transport Layer SecurityTLS inspection settingswith your own certificate

Transport Layer Security (TLS) inspection in Microsoft Entra Internet Access uses a two-tier Intermediateintermediate certificate model to issue dynamically generated leaf certificates for decrypting traffic. This article explains howbring your own certificate (BYOC) option lets you use your organization's public key infrastructure (PKI) to configuresign the Certificate Authoritycertificate authority (CA) that serves as the Global Secure Access intermediate CA.

This article explains how to create a certificate signing request (CSR), sign it with your CA, including signing and uploadingupload the signed certificate. If you don't want to operate your own CA for TLS inspection, see Configure TLS inspection with a Microsoft-managed certificate.

Prerequisites

To complete the steps in this process, you must have the following prerequisites in place:

  • A Public Key Infrastructure (PKI)PKI service to sign the Certificate Signing Request (CSR)CSR and generate an intermediate certificate for TLS inspection. For testing scenarios, you can also use a self-signed root certificate created with OpenSSL.
  • A trial license for Microsoft Entra Internet Access.
  • Global Secure Access prerequisites.

Global Secure Access admin: create

Create a CSR and upload theyour signed certificate for TLS termination

To create a CSR and upload the signed certificate for TLS termination:

  1. Sign in to the Microsoft Entra admin center as a Global Secure Access Administrator.

  2. Browse to Global Secure Access > Secure > TLS inspection policies.

  3. Switch to the TLS inspection settings tab.

  4. Select + Create certificate. This step starts with to start generating a Certificate Sign Request (CSR). certificate signing request.

  5. In the Create certificate pane, fill in the following fields:

    • Certificate name: This name appears in the certificate hierarchy when viewed in a browser. It must be unique, contain no spaces, and be no more than 12 characters long. Important: You can't reuse a previous certificate names,name, even after deletion.you delete the certificate.
    • Common name (CN): Common name, for example, Contoso TLS ICA,Enter a common name that identifies the intermediate certificate.certificate, for example, Contoso TLS ICA.
    • Organizational Unit (OU): OrganizationEnter an organization name, for example, Contoso IT.IT.
  6. Select Create CSR. This step creates a .csrThe .csr file and saves itis saved to your default download folder.

    :::image type="content" source="media/how-to-transport-layer-security-settings/create-certificate.png" alt-text="Screenshot of the Create certificate pane with fields filled and the Create CSR button highlighted." lightbox="media/how-to-transport-layer-security-settings/create-certificate.png":::

  7. Sign the CSR using your PKI service. Make sure Server Auth is in Extended Key Usage and certificate authority (CA)=true, keyCertSign,cRLSign, basicConstraints=critical,CA:TRUE, and pathLenConstraint = 1 are in Basic Extension. Save the signed certificate in .pem.pem format. If you're testing with a self-signed certificate, follow the instructions to use OpenSSL to sign the CSR.

  8. Select + Upload certificate.

  9. In the Upload certificate form, upload the certificate.pem and chain.pem files.

  10. Select Upload signed certificate.

    :::image type="content" source="media/how-to-transport-layer-security-settings/upload-certificate.png" alt-text="Screenshot of Upload certificate form with example certificate and chain certificate files in the upload fields." lightbox="media/how-to-transport-layer-security-settings/upload-certificate.png":::

  11. The uploaded certificate uploads defaults to Disabled status. Set the status to Enabled. You can have one enabled certificate.

    :::image type="content" source="media/how-to-transport-layer-security-settings/status-active.png" alt-text="Screenshot of the TLS inspection settings tab showing certificate status is Enabled." lightbox="media/how-to-transport-layer-security-settings/status-active.png":::

Test with a self-signed root certificate authority using OpenSSL

For testing purposes only, use a self-signed root certificate authority (CA) that you create with OpenSSL to sign the CSR.

  1. If you don't already have one, first create an openssl.cnf file with this configuration:

[ rootCA_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:true
keyUsage = critical, digitalSignature, cRLSign, keyCertSign

[ interCA_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:true, pathlen:1
keyUsage = critical, digitalSignature, cRLSign, keyCertSign

[ signedCA_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:true
keyUsage = critical, digitalSignature, cRLSign, keyCertSign
extendedKeyUsage = serverAuth

[ server_ext ]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
basicConstraints = critical, CA:false
keyUsage = critical, digitalSignature
extendedKeyUsage = serverAuth
  1. Create a new root certificate authority and private key using the following openssl.cnf config file:

openssl req -x509 -new -nodes -newkey rsa:4096 -keyout rootCAchain.key -sha256 -days 370 -out rootCAchain.pem -subj "/C=US/ST=US/O=Self Signed/CN=Self Signed Root CA" -config openssl.cnf -extensions rootCA_ext
  1. Sign the CSR using the following command:

  2. openssl x509 -req -in <CSR file> -CA rootCAchain.pem -CAkey rootCAchain.key -CAcreateserial -out signedcertificate.pem -days 370 -sha256 -extfile openssl.cnf -extensions signedCA_ext
    1. Upload the signed certificates (signedcertificate.pemand rootCAchain.pem) according to the steps in Create a CSR and upload the signed certificate for TLS terminationCreate a CSR and upload your signed certificate.

    2. Configure TLS inspection in Microsoft Entra Internet Access

      In theThe following example video, you can learnvideo shows how to configure TLS inspection in Microsoft Entra Internet Access using a self-signed certificate created with OpenSSL. LearnIt also shows how to build TLS inspection policies, configure security profiles, apply web content filtering, and enforce Conditional Access policies. Createpolicies, create custom block pagespages, and implement threat intelligence policies.

      [!VIDEO 2f8c4249-79c5-4832-bd94-de4f4f647e8c]

      PowerShell examples to

      For examples that configure a certificate authority for TLS inspection

      Examples of configuring TLS certificate using ADCS and OpenSSL can be found in below links: Active Directory Certificate Services (AD CS) or OpenSSL, see:

      Related content

      Daily Entra.News

      Get daily email updates

      Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

      Loading the secure signup form…