HP 6125G HP 6125G & 6125G/XG Blade Switches Security Command Reference - Page 176
public-key local create
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 176 highlights
[Sysname] public-key peer key1 [Sysname-pkey-public-key] public-key-code begin [Sysname-pkey-key-code]30819F300D06092A864886F70D010101050003818D0030818902818100C0EC 8014F82515F6335A0A [Sysname-pkey-key-code]EF8F999C01EC94E5760A079BD73E4F4D97F3500EDB308C29481B77E719D164 3135877E13B1C531B4 [Sysname-pkey-key-code]FF1877A5E2E7B1FA4710DB0744F66F6600EEFE166F1B854E2371D5B952ADF6 B80EB5F52698FCF3D6 [Sysname-pkey-key-code]1F0C2EAAD9813ECB16C5C7DC09812D4EE3E9A0B074276FFD4AF2050BD4A9B1 DDE675AC30CB020301 [Sysname-pkey-key-code]0001 [Sysname-pkey-key-code] public-key-code end [Sysname-pkey-public-key] public-key local create Syntax View public-key local create { dsa | rsa } System view Default level 2: System level Parameters dsa: Specifies a DSA key pair. rsa: Specifies an RSA key pair. Description Use public-key local create to create local asymmetric key pairs. The created local key pairs are saved automatically, and can survive a reboot. By default, no asymmetric key pair is created. When using this command to create DSA or RSA key pairs, you are asked to provide the length of the key modulus. The modulus length is in the range of 512 to 2048 bits, and defaults to 1024 bits. If the type of key pair already exists, the system asks you whether you want to overwrite it. Related commands: public-key local destroy and display public-key local public. Examples # Create local RSA key pairs. system-view [Sysname] public-key local create rsa The range of public key size is (512 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes. Press CTRL+C to abort. Input the bits of the modulus[default = 1024]: Generating Keys 167