Microsoft Entra Internet Access
General

Tutorial Internet Access Tls Inspection

In brief

The tutorial now describes GSA Service TLS inspection and certificates signed by a GSA intermediary certificate. Setup uses **Microsoft-managed** certificate creation, while enterprise CA certificates remain an option.

What Entra admins need to know

Administrators following the tutorial should use the updated certificate workflow and ensure clients trust the GSA intermediary certificate.

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.

Here's the flow of traffic:

  1. The client establishes TLS connection to security service edge (SSE).
  2. SSEGSA establishes separate TLS connection to destination.
  3. SSEGSA decrypts, inspects, and reencrypts traffic.
  4. The client sees a certificate signed by your enterprise certificate authority (CA).the GSA intermediary certificate.
  5. If allowed by policy, SSEGSA forwards the traffic to the original destination server.
User → GSA Client → SSE ProxyGSA Service → Destination Server
                         │
                   [TLS Terminated]
                   [Content Inspected]
                   [Re-encrypted with Enterprise CA cert]encrypted]
                   [Forwarded to destination]

In this tutorial, you create and enable a TLS inspection policy. You keep the system-generated bypass rules at their default values. You then verify that TLS inspection is occurring as expected.

Sample walkthrough videos

The following video demonstrates how to configure TLS inspection.

[!VIDEO https://www.youtube.com/embed/sn9sF1FRPzI]

The following video demonstrates more TLS inspection configuration.

[!VIDEO https://www.youtube.com/embed/0XDsnn94Y1I]

The following video demonstrates how to verify TLS inspection.

[!VIDEO https://www.youtube.com/embed/KDFLLct7xfo]

Step 1: Create a TLS termination CA certificate

Creating a TLS termination CAOrganizations must generate an intermediary certificate involves generating a certificate signing request (CSR), signing it, and uploading the signed certificate. The TLS termination CA certificatewhich is used to issue short-lived leaf certificates for the websitewebsites being accessed.

Step 1.1: Generate Admins can choose between a CSR

Microsoft-managed certificate or they can generate their own certificate using an Enterprise certificate authority. For this tutorial, we will use the Microsoft-managed certificate.

To creategenerate and activate a CSR and upload the signed certificate for TLS termination:Microsoft-managed intermediary certificate:

  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 toSelect the TLS inspection settings tab.

  4. Select + Create certificate, and then select Microsoft-managed.

  5. Select Create.
  6. On the TLS inspection settings tab, select the actions menu (...) next to the managed certificate and select Enable.
  7. Confirm that the certificate status changes to Active.
  8. Select the actions menu (...) next to the managed certificate and select Download root certificate. This step starts with generating a CSR.

  9. Inwill be used later in Step 5: Verify TLS inspection on the Create certificate pane, fill in the following fields:

    • Certificate name: The certificate name appears in the certificate hierarchy when you view it in a browser. It must be unique, contain no spaces, and be no more than 12 characters long. You can't reuse previous names.
    • Common name: The common name, for example, Contoso TLS ICA, that identifies the intermediate certificate.
    • Organization name: The organization name, for example, Contoso IT.
  10. Select Create CSRclient. This step creates a .csr file and saves it to your default download folder.

    Screenshot that shows creating a certificate.

Step 1.2: Sign the CSR

Sign the CSR by using your self-signed certificate or private key infrastructure (PKI) service.

If you create your own certificate without using the provided samples, make sure that Server Auth is in Extended Key Usage and certificate authority (CA)=true, keyCertSign, cRLSign, and basicConstraints=critical,CA:TRUE are in Basic Extension. Save the signed certificate in .pem format.

Step 1.3: Upload the signed certificate for TLS termination

After you have your certificate and chain .pem files, upload the signed certificate for TLS termination.

  1. Select + Upload certificate.

  2. On the Upload certificate form, upload the signedcertificate.pem and rootCAchain.pem files.

  3. Select Upload signed certificate.

    Screenshot that shows uploading the certificate.

  4. Next to the certificate, select the ellipsis (three dots) under the Actions column, and then select Enable.

    Screenshot that shows the enable action for the certificate.

  5. After you enable the certificate, the status changes from Enrolling to Active. This step might take a few minutes.

    Screenshot that shows the certificate with Active status.

Step 2: Create a TLS inspection policy

  1. In the Microsoft Entra admin center, browse to Secure > TLS inspection policies.

  2. Select Create policy.

  3. Enter a name and a description (optional), and then set ActionDefault action to Inspect.

  4. Select Next.

    By setting the default action to Inspect, all traffic is TLS inspected unless it matches a bypass rule that you or the system generates. When you create a TLS inspection policy, the system automatically generates two rules. The first rule is a system rule that automatically bypasses destinations that Microsoft knows are incompatible with TLS inspection. The second rule is a recommended bypass list that bypasses TLS inspection for specific categories that users might consider sensitive or private. You can edit this rule later.

    You can view the system-generated rules after you create the TLS inspection policy by selecting Edit on the policy.

    Screenshot that shows the TLS inspection policy rules.

  5. Select Next.

  6. Select Submit.

  7. Browse to Entra ID > Conditional Access.

  8. Select Create new policy.

  9. Enter a name and assign a user or group.

  10. Select Target resources, and then select All internet resources with Global Secure Access.

  11. Select Session > Use Global Secure Access security profile and choose the security profile that you created in step 3.

  12. Select Select.

  13. In the Enable policy section, ensure that On is selected.

  14. Select Create.

It might take up to an hour for the security profile to take effect after Conditional Access assigns it.

Step 5: Verify TLS inspection on the client

To verify that TLS inspection is occurring properly:

  1. Make sure the user device has the rootCAchain.pem file installed in the Trusted Root Certification Authorities folder.
    • On Windows 11, open Manage user certificates.
    • Select Trusted Root Certification Authorities, and then right-click Certificates.
    • Select Import (it might be located under All Tasks).
    • Follow the import wizard to select and import the rootCAchain.pem file.
  2. Open a browser on a client device and test various websites, such as www.google.com. Inspect the certificate information and confirm the GSA certificate.
  1. Select Next.

  2. Select Submit.

  3. Browse to Entra ID > Conditional Access.

  4. Select Create new policy.

  5. Enter a name for the policy.

  6. Select Users or agents and select a user or group with your pilot users included.

  7. Select Target resources, and then select All internet resources with Global Secure Access.

  8. Select Session > Use Global Secure Access security profile and choose the security profile that you created in step 3.

  9. Select Select.

  10. In the Enable policy section, select On.

  11. Select Create.

It can take up to an hour for the security profile to take effect after Conditional Access assigns it.

Step 5: Verify TLS inspection on the client

To verify that TLS inspection is occurring properly:

  1. Copy the root certificate downloaded from Step 1 onto your Windows 11 device.
  2. Install the root certificate in the Trusted Root Certification Authorities folder.
    • On Windows 11, open Manage user certificates.
    • Select Trusted Root Certification Authorities, and then right-click Certificates.
    • Select Import (it might be located under All Tasks).
    • Follow the import wizard to select and import the root certificate file.
  3. Open a browser on a client device and test various websites, such as www.google.com. Inspect the certificate information and confirm the GSA certificate.
  1. Select the lock icon next to the web URL.

    :::image type="content" source="media/tutorial-internet-access-tls-inspection/tls-certificate-lock-icon.png" alt-text="Screenshot that shows the lock icon next to the URL." lightbox="media/tutorial-internet-access-tls-inspection/tls-certificate-lock-icon.png":::

  2. Select Connection is secure.

  3. Select the certificate icon.

    :::image type="content" source="media/tutorial-internet-access-tls-inspection/tls-certificate-connection-secure.png" alt-text="Screenshot that shows Connection is secure and the certificate icon." lightbox="media/tutorial-internet-access-tls-inspection/tls-certificate-connection-secure.png":::

  4. Verify that the common name says Microsoft Global Secure Access Intermediate.

    :::image type="content" source="media/tutorial-internet-access-tls-inspection/tls-certificate-verification.png" alt-text="Screenshot that shows certificate verification." lightbox="media/tutorial-internet-access-tls-inspection/tls-certificate-verification.png":::

What you learned

In this exercise, you accomplished the following tasks:

  • Created a certificate for TLS inspection: You generated a Microsoft-managed intermediary certificate in Global Secure Access. You established the trust chain that you need for TLS inspection.
  • Understood bypass rules: You learned that some destinations are incompatible with TLS inspection, such as certificate pinning or mutual TLS, or are privacy sensitive, such as banking or healthcare. GSA automatically creates rules that bypass these destinations by default.
  • Created a security profile with Conditional Access: You learned that you can use a security profile via Conditional Access to target specific users to allow for phased rollouts. This is different than the baseline profile which applies to everyone even without specific user/group assignment.
  • Established trust of the root certificate: You learned that for clients to trust the re-encrypted traffic, they need the root certificate in their trusted store.

Security considerations

  • When generating a self-managed root certificate, protect your root CA private key because attackers could forge certificates if it's compromised.
  • Consider using a dedicated CA for TLS inspection, not your production PKI (common industry guidance).
  • Audit bypass rules regularly to ensure that sensitive sites remain protected.
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…