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.
Assicurati di trovarti nella directory BASE_DIRECTORY/hybrid-files.
Nella guida rapida all'installazione è stato suggerito di creare una directory hybrid-files
per contenere i file che crei. La struttura del file potrebbe essere diversa da quella suggerita.
Esegui il seguente comando dalla directory hybrid-files, dove
./certs è la directory contenente i certificati.
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-10 UTC."],[[["The current Apigee hybrid documentation version 1.1 is end-of-life and users should upgrade to a newer version."],["This content explains how to create self-signed TLS certificates for trial or testing in an environment configuration."],["Self-signed certificates are not recommended for production environments and should only be considered for development, trial, or testing."],["The provided `openssl` command generates a self-signed certificate/key pair, which can be used for the quickstart installation of the runtime ingress gateway."],["A `keystore.pem` and `keystore.key` file should be created in the specified directory after running the command, to be used as a self signed certificate and key."]]],[]]