在本節中,您將透過瀏覽器查看已部署至 Cloud Run 的應用程式,進行測試。只有在 Google 管理的憑證狀態變更為 ACTIVE 時,您才能查看應用程式。佈建 Google 管理的憑證最多可能需要 60 分鐘。如要進一步瞭解 Google 代管的 SSL 憑證,請參閱「使用 Google 代管的 SSL 憑證」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Step 5: Test your IAP-secured app\n\nIn this section, you test the app that you've deployed to Cloud Run by\nviewing it in your browser. You can view the app only after the status of the\nGoogle-managed certificate becomes `ACTIVE`. Provisioning a Google-managed\ncertificate might take up to 60 minutes. For more information about\nGoogle-managed SSL certificates, see\n[Use Google-managed SSL certificates](/load-balancing/docs/ssl-certificates/google-managed-certs#certificate-resource-status).\n\nCheck the status of your certificate\n------------------------------------\n\n1. Go to the **Classic Certificates** tab in the Google Cloud console.\n\n [Go to Classic Certificates](https://console.cloud.google.com/security/ccm/list/lbCertificates)\n2. In the **Status** column, check the status of the `my-genai-app-certificate` certificate.\n\n You can proceed with the rest of the tutorial after the status changes to\n **Active**. Note that certificate provisioning might take up to 60 minutes.\n\nView the deployed app\n---------------------\n\n1. Sign in with a principal's account that you configured in IAP.\n\n2. In your browser, open the following URL:\n\n https://\u003cvar translate=\"no\"\u003eDOMAIN_NAME\u003c/var\u003e/app\n\n Replace \u003cvar translate=\"no\"\u003eDOMAIN_NAME\u003c/var\u003e with domain name provided during certificate creation."]]