Cisco Systems 6500 manual This example shows how to generate special-usage RSA keys

Page 10

Chapter 2 Commands for the Catalyst 6500 Series Switch WebVPN Module

crypto key generate

Examples

This example shows how to generate special-usage RSA keys:

crypto key generate rsa usage-keys

The name for the keys will be: myrouter.example.com Choose the size of the key modulus in the range of 360 Choosing a key modulus greater than 512 may take a few How many bits in the modulus[512]? <return>

Generating RSA keys....

[OK].

to 2048 for your Signature Keys. minutes.

Choose the size of the key modulus in the range of 360 to 2048 for your Encryption Keys. Choosing a key modulus greater than 512 may take a few minutes.

How many bits in the modulus[512]? <return>

Generating RSA keys....

[OK].

This example shows how to generate general-purpose RSA keys:

Note You cannot generate both special-usage and general-purpose keys; you can generate only one or the other.

webvpn(config)# crypto key generate rsa general-keys label kp1 exportable

The name for the keys will be: kp1

Choose the size of the key modulus in the range of 360 to 2048 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few minutes.

How many bits in the modulus [512]: 1024

Generating RSA keys.... [OK].

Catalyst 6500 Series Switch WebVPN Module Command Reference—Release 1.1

2-10

OL-7310-01

 

 

Image 10
Contents Commands for the Catalyst 6500 Series Switch WebVPN Module Clear webvpn nbns DefaultsCommand Modes Command History Release ModificationClear webvpn platform Webvpn# clear webvpn platform User name Clear webvpn sessionClears the statistics for a specific context Specifies the user nameMangle Clear webvpn statsCifs Port-forwardUrl url Crypto key export rsa pemTerminal 3desKey nametest-keys UsageGeneral Purpose Key Usage-keys Crypto key generateGeneral-keys ExportableThis example shows how to generate general-purpose RSA keys This example shows how to generate special-usage RSA keysCrypto key generate rsa usage-keys Crypto key import rsa pem Release ModificationPEM-formatted RSA key to the WebVPN Services Module Crypto pki authenticate Crypto pki authenticate trustpoint-labelDefaults Command Modes Command History Usage Guidelines Crypto pki certificateCrypto pki crl request Wwbvpnconfig# crypto pki crl requestCrypto pki crl request name Crypto pki enroll This example shows how to request a certificateWebvpnconfig# crypto pki enroll PROXY1 Crypto pki enroll trustpoint-labelCrypto pki export pem Related Commands crypto pki import pem Crypto pki export pkcs12 Include the full path in the pkcs12filename value This example shows how to export a PKCS12 file using SCPWwbvpnconfig# crypto ca export TP1 pkcs12 scp sky is blue PKCS12 fileCrypto pki import pem Related Commands crypto pki export pem Usage Guidelines ExamplesCrypto pki import pkcs12 This example shows how to import a PKCS12 file using SCP Users/admin-1/pkcs12/TP2.p12Crypto pki profile enrollment Webvpnconfig# crypto pki profile enrollment testCrypto pki profile enrollment label Crypto pki trustpoint Command Purpose and Guidelines Defaults Period minutes count count url url Enrollment http-proxymode ra retryPeriod minutes-1 Count count-10Match certificate mapname map override Certificate map mapname commandPassword password SkipUsage ike ssl-client ssl-server Subject-name lineVrf vrf Debug webvpn Event app next-hop tcp-Event debugging Trace module module- FDU traceCert- Certificate management Ca-pool- CA PoolEvents- Events This example shows how to turn on tunnel debugging Usage Guidelines Nbns-list Nbns-list name no nbns-list nameNbns-server ipaddr Master timeoutExit Banner value string Policy groupFilter tunnel ip-acl Hide-url-bar Functions file-accessTimeout idle Nbns-list nameWebvpnconfig# webvpn context cisco Webvpnconfig-webvpn-group#svc address-pool ciscotunlpoolPort-forward Default local-portSpecifies the default local port valid values are from 1 to Port-forward listname no port-forward listnameRelated Commands url-list Webvpn contextShow webvpn context name Show webvpn contextWebvpn# show web context tunnel Algorithm Show webvpn dispatchShow webvpn dispatch algorithm member stats MemberSslvpn CLB Member Table Show webvpn gateway name Webvpn# show webvpn gateway s1 Admin Status upShow webvpn gateway Webvpn# show webvpn gatewayCsd Show webvpn installFile StatusWebvpn# show web install file \webvpn\stc\version.txt All Show webvpn nbnsShow webvpn nbns context name all Show web nbns context allShow webvpn-platform buffers module module Show webvpn platform buffersShow webvpn-platform buffers module all Show webvpn platform context name module module Show webvpn platform contextWebvpn# show webvpn platform context tunnel OL-7310-01 Brief Show webvpn platform crash-infoShow webvpn platform crash-info brief details DetailsNvram Version This Core Didnt Crash Debug Show webvpn platform gatewayShow webvpn platform gateway name debug module module Module moduleVlan ID Show webvpn platform mac address This command has no default settingsShow webvpn platform mac address ModuleSsl Show webvpn platform policyShow webvpn platform policy ssl tcp name TcpShow webvpn platform version Show webvpn platform versionWebvpn# show webvpn platform version Show webvpn platform vlan vlan-id Show webvpn platform vlanWebvpn# show webvpn platform vlan Group name Related Commands webvpn policy sslShow webvpn policy Context name TcpUser name Show webvpn sessionContext name Webvpn# show webvpn session context c1Show webvpn stats type Show webvpn statsWebvpn# show webvpn stats Mangling statistics Relative urls 15705 Absolute urls 41850 DPD Page TCP VCs Active VCs Aborted Conns Webvpn# show web stats context tunnel DPD Snmp-server enable This example shows how to enable traps This example shows how to enable Snmp informsThis example shows how to enable authentication traps Svc Command Modes WebVPN group context submodeCommand History Release Modification Dns-server primary secondaryCommand Purpose and Guidelines Default Rekey time interval Rekey method new-tunnel sslNo rekey method No rekey timeHeading text Url-listUrl-list listname no url-list listname Url-text text url-value url/exchageRelated Commands webvpn context Default-group-policy default-policy-name Aaa authentication domain domain-listSpecifies AAA configuration parameters for context Webvpn contextNo login-message InserviceLogin-message string Password-prompt promptPolicy group policy-name Ssl authenticate verify all noneAuthenticate verify -Specifies the SSL Policy ssl policy-nameVrf-name vrf-name Url-list listnameColor Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Color Name Webvpnconfig-webvpn-context# url-list cisco 100 Webvpn gateway No policy tcp SecondaryNo policy ssl Webvpnconfig-webvpn-gateway#ip address 172.21.65.71 port Webvpnconfig# webvpn gateway commonContext and enter the gateway submode Webvpn policy ssl Timeout session timeout absolute No session-cache enableTimeout handshake timeout HelpWwbvpnconfig# webvpn policy ssl sslpl1 This example shows how to enable session-cacheThis example shows how to disable session-cache Wwbvpnconfig-ssl-policy#cipher RSAWITH3DESEDECBCSHARelated Commands show webvpn stats This example shows how to print out a helpWwbvpnconfig-ssl-policy#timeout session 30000 absolute Default Exit Timeout syn is 75 secondsTimeout reassembly is 60 seconds Tos carryover is disabled Webvpn policy tcpNo timeout fin-wait timeout-in-seconds Delayed-ack-thresholdDelay-ack-timeout No timeout inactivity timeout-in-secondsNo tos carryover No timeout reassembly timeForm of this command to return to the default setting Server to client connection, the server connection must be111 112
Related manuals
Manual 20 pages 62.17 Kb Manual 160 pages 24.26 Kb Manual 262 pages 31.67 Kb