Étape 5 : Testez votre application sécurisée par IAP
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Dans cette section, vous allez tester l'application que vous avez déployée dans Cloud Run en l'affichant dans votre navigateur. Vous ne pouvez afficher l'application qu'une fois que l'état du certificat géré par Google est ACTIVE. Le provisionnement d'un certificat géré par Google peut prendre jusqu'à 60 minutes. Pour en savoir plus sur les certificats SSL gérés par Google, consultez la section Utiliser des certificats SSL gérés par Google.
Vérifier l'état de votre certificat
Accédez à l'onglet Certificats classiques dans la console Google Cloud.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],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."]]