Questo passaggio spiega come creare le credenziali TLS necessarie per il funzionamento di Apigee hybrid.
Crea certificati TLS
Devi fornire certificati TLS per il gateway di ingresso di runtime nella configurazione ibrida di Apigee. Ai fini di questa guida rapida (un'installazione di prova non di produzione),
il gateway di runtime può accettare credenziali autofirmate. Nei passaggi successivi, viene utilizzato openssl per generare le credenziali autofirmate.
In questo passaggio, creerai i file delle credenziali TLS e li aggiungerai alla directory base_directory/hybrid-files/certs.
Nel passaggio 7: configura il runtime hybrid, aggiungerai i percorsi dei file al file di configurazione del cluster.
Questo comando crea una coppia di chiavi/certificati autofirmati che puoi utilizzare per l'installazione guidata.
Verifica che i file siano nella directory ./certs utilizzando il seguente comando:
ls ./certs
keystore.key
keystore.pem
dove keystore.pem è il file del certificato TLS autofirmato e keystore.key
è il file della chiave.
Ora disponi delle credenziali necessarie per gestire Apigee hybrid nel tuo cluster Kubernetes. Successivamente, creerai un file utilizzato da Kubernetes per eseguire il deployment dei componenti di runtime ibrida nel cluster.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-04-01 UTC."],[[["This guide provides instructions for creating TLS credentials, which are essential for the operation of Apigee hybrid."],["For non-production trial installations, self-signed certificates can be used, and the guide demonstrates generating them using `openssl`."],["In a production environment, signed certificates are required, and they can be obtained either as a certificate and key pair or through a Kubernetes secret, such as using Let's Encrypt as the CA."],["The generated TLS certificate (`keystore.pem`) and key (`keystore.key`) files must be saved in the `\u003cvar translate=\"no\"\u003ebase_directory\u003c/var\u003e``/hybrid-files/certs` directory."],["The domain name saved in the **`DOMAIN`** environment variable during this process must be the same as the one used for the environment group created in a previous step."]]],[]]