Questo argomento spiega come creare certificati TLS autofirmati da utilizzare in una configurazione dell'ambiente. Queste informazioni sono destinate esclusivamente a scopi di prova o test.
Il gateway di ingresso in fase di runtime (il gateway che gestisce il traffico proxy API) richiede
una coppia di chiavi/certificato TLS. Per questa installazione della guida rapida, puoi utilizzare credenziali autofirmate. Nei passaggi successivi viene utilizzato openssl per generare le credenziali.
Vai alla directory del grafico HELM_CHARTS_HOME/apigee-virtualhost/
ed esegui il seguente comando per creare i file del certificato e della chiave. I file del certificato
avranno molto probabilmente le estensioni .crt o .pem e il file della chiave avrà molto probabilmente.key.
.
Questo comando crea una coppia di chiavi/certificato autofirmato che puoi utilizzare per l'installazione guidata. Il CN mydomain.net può essere qualsiasi valore per le credenziali autofirmate.
Verifica che i file siano nella directory ./certs:
ls ./certs
keystore.pem
keystore.key
dove keystore.pem è il file del certificato TLS autofirmato e keystore.key
è il file della chiave.
[[["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-03-12 UTC."],[[["This guide details the creation of self-signed TLS certificates for trial or testing environments."],["Self-signed certificates are not recommended for production and should be used only for development, trials, or testing."],["The runtime ingress gateway requires a TLS certificate/key pair, which can be self-signed for quickstart installations."],["OpenSSL is used to generate the certificate and key files, with the provided command creating a pair that can be used immediately."],["The generated certificate and key files, typically with `.crt` or `.pem` and `.key` extensions respectively, should be stored in the `HELM_CHARTS_HOME/apigee-virtualhost/` directory."]]],[]]