⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e223. creating a new key pair and self-signed certificate using keytool.txt

📁 这里面包含了一百多个JAVA源文件
💻 TXT
字号:
This example uses the keytool program to create a new key pair and self-signed certificate for the principal Duke. The example generates a 1024-bit Digital Signature Algorithm (DSA) key pair. 
    > keytool -genkey -alias alias -keystore .keystore
    Enter keystore password: password
    What is your first and last name?
      [Unknown]: Duke
    What is the name of your organizational unit?
      [Unknown]: JavaSoft
    What is the name of your organization?
      [Unknown]: Sun
    What is the name of your City or Locality?
      [Unknown]: Cupertino
    What is the name of your State or Province?
      [Unknown]: CA
    What is the two-letter country code for this unit?
      [Unknown]: US
    Is <CN=Duke, OU=JavaSoft, O=Sun, L=Cupertino, ST=CA, C=US> correct?
      [no]: yes


To create a 1024-bit RSA key: 
    > keytool -genkey -keyalg RSA -keysize 1024 -alias alias -keystore .keystore


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -