Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
8.3. Create a Private/Public Key Pair with Keytool
Procedure 8.1. Create a Private/Public Key Pair with Keytool
- Run the
keytool -genkey -alias ALIAS -keyalg ALGORITHM -validity DAYS -keystore server.keystore -storetype TYPEcommand:keytool -genkey -alias teiid -keyalg RSA -validity 365 -keystore server.keystore -storetype JKS
keytool -genkey -alias teiid -keyalg RSA -validity 365 -keystore server.keystore -storetype JKSCopy to Clipboard Copied! Toggle word wrap Toggle overflow - If the specified keystore already exists, enter the existing password for that keystore, otherwise enter a new password:
Enter keystore password: <password>
Enter keystore password: <password>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Answer the following questions when prompted:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Enter
yesto confirm the provided information is correct:Is CN=<user's name>, OU=<department name>, O="<company name>", L=<city name>, ST=<state name>, C=<country name> correct? [no]: yes
Is CN=<user's name>, OU=<department name>, O="<company name>", L=<city name>, ST=<state name>, C=<country name> correct? [no]: yesCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Enter your desired keystore password:
Enter key password for <server> (Return if same as keystore password)
Enter key password for <server> (Return if same as keystore password)Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Result
The server.keystore file contains the newly generated public and private key pair.