Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
8.5. Add a Certificate to a Truststore Using Keytool
Procedure 8.3. Add a Certificate to a Truststore Using Keytool
- Run the
keytool -import -alias ALIAS -file public.cert -storetype TYPE -keystore server.truststorecommand:keytool -import -alias teiid -file public.cert -storetype JKS -keystore server.truststore
keytool -import -alias teiid -file public.cert -storetype JKS -keystore server.truststoreCopy to Clipboard Copied! Toggle word wrap Toggle overflow - If the specified truststore already exists, enter the existing password for that truststore, otherwise enter a new password:
Enter keystore password: <password>
Enter keystore password: <password>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enter
yeswhen prompted to trust the certificate:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Result
The certificate in public.cert has been added to the new truststore named server.truststore.