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-06 UTC."],[[["The provided instructions guide users through creating self-signed TLS certificates for trial or testing purposes only, emphasizing they are not recommended for production environments."],["Apigee hybrid documentation version 1.8 is end-of-life, and users are advised to upgrade to a newer version for continued support and functionality."],["Self-signed TLS credentials, consisting of a certificate and key pair, are required for the runtime ingress gateway in the context of a quickstart installation, and can be generated using the openssl command."],["The provided openssl command will create a certificate/key pair within the user-specified directory, and the user can designate a custom value for the CN parameter during the process."],["After executing the openssl command, users should verify that both the `keystore.pem` certificate file and the `keystore.key` file are present in the specified `./certs` directory."]]],[]]