Cisco Systems 6500 manual PEM-formatted RSA key to the SSL Services Module

Page 46

Chapter 2 Commands for the Catalyst 6500 Series SSL Services Module

crypto key import rsa pem

Examples

This example shows how to import a PEM-formatted RSA key from an external system and export the

 

PEM-formatted RSA key to the SSL Services Module:

ssl-proxy(config)#crypto key import rsa newkeys pem url scp: password

%Importing public key or certificate PEM file...

Address or name of remote host []? 7.0.0.7

Source username [ssl-proxy]? lab

Source filename [newkeys.pub]? test-keys.pub

Password:

Sending file modes:C0644 272 test-keys.pub

Reading file from scp://lab@7.0.0.7/test-keys.pub!

%Importing private key PEM file...

Address or name of remote host []? 7.0.0.7 Source username [ssl-proxy]? lab

Source filename [newkeys.prv]? test-keys.prv

Password:

Sending file modes:C0644 963 test-keys.prv

Reading file from scp://lab@7.0.0.7/test-keys.prv!% Key pair import succeeded.

ssl-proxy(config)#

Catalyst 6500 Series Switch SSL Services Module Command Reference

2-20

OL-9105-01

 

 

Image 46
Contents Corporate Headquarters Text Part Number OL-9105-01Page N T E N T S IiiNatpool Acronyms A-1 OL-9105-01 Related Documentation AudienceOrganization Chapter Title DescriptionBoldface font ConventionsConvention Description Example, interface interface typeObtaining Documentation Cisco.comDocumentation Feedback Cisco Product Security OverviewReporting Security Problems in Cisco Products Obtaining Technical AssistanceSubmitting a Service Request XiiObtaining Additional Publications and Information XiiiXiv Getting Help This chapter includes the following sectionsHow to Find Command Options Command Comment After you enter the mode keyword Must enter next on the command lineMode keyword Complete the command. If additionalConfigure terminal privileged Exec Understanding Command ModesCommand Mode Access Method Prompt Exit Method Configure terminalImage using the boot system flash filename Using the No and Default Forms of CommandsInterface command With an interfaceUsing the CLI String Search Character Special MeaningAbcdABCD \$ \ \+Aeiou DA-DBa?b Telebit 3107 v32bisCharacter This string matches any number of asterisksAbcd Za-z0-9+Codex telebit $\.121300$ 1300space space1300 1300, ,1300, 1300 ,1300 For example1300 WithOL-9105-01 A P T E R Clear ssl-proxy conn DefaultsCommand Modes Command History Release ModificationClear ssl-proxy content Defaults Command Modes Command HistoryClear ssl-proxy session Usage GuidelinesClear ssl-proxy stats Ssl-proxy#clear ssl-proxy stats Des Crypto pki export pemTerminal 3desRelated Commands Crypto pki import pemExportable Defaults Command HistoryCrypto pki import pem Usage-keysCrypto pki export pem Crypto pki export pkcs12 This example shows how to export a PKCS12 file using SCP Crypto pki import pkcs12 Filename TP2? /users/admin-1/pkcs12/TP2.p12 This example shows how to import a PKCS12 file using SCPCrypto Passphrase passphrase Crypto key decrypt rsaName key-name Crypto key encrypt rsaCrypto key decrypt rsa Crypto key encrypt rsaCrypto key lock rsa Keylabel Name of the key Crypto key export rsa pemOptional Specifies that the key can be exported Key nametest-keys UsageGeneral Purpose Key Null-Imports from the null file system Crypto key import rsa pemInstead of one general-purpose key pair System-Imports from the system file systemPEM-formatted RSA key to the SSL Services Module Name key-name Optional Name of the key Crypto key lock rsaCrypto key lock rsa name key-namepassphrase passphrase Passphrase passphraseCrypto key unlock rsa Crypto key unlock rsa name key-namepassphrase passphraseDebug ssl-proxy Command History Release Modification This example shows how to turn on App debugging Command EXEC-level command to be executed Do commandConfiguration mode Interface ssl-proxy Syntax Description Defaults Command Modes Command HistorySyntax Description Standby timers Standby authenticationStandby delay minimum reload Standby ipSsl-proxy config# interface ssl-proxy Ssl-proxyconfig-subif#ip address 208.59.100.18Natpool Context subcommand modeThis example shows how to define a pool of IP addresses Natpool nat-pool-name startipaddr endipaddr netmask netmaskInterval seconds Syntax Description Defaults Command ModesPolicy health-probe tcp Failed-interval secondsSsl-proxyconfig-context#policy health-probe tcp probe1 Open-timeout secondsSsl-proxyconfig#ssl-proxy context ssl Running on server IP addressPage Alias Policy http-headerClient-cert pem Policy that is applied to the payloadField To Insert Description Client-cert pem Inserts the custom-stringheader into the Http header Client-ip-portCustom custom-string PrefixRelated Commands show ssl-proxy policy SSL-OFFLOAD-SOFTWARE VERSION3.11Timeout session timeout absolute Close-protocol is disabledSession-caching is enabled Policy sslSSL-Policy Configuration Submode Command Descriptions Help Renegotiation volume sizeTimeout handshake timeout Renegotiation interval timeOL-9105-01 This example shows how to enable a session cache This example shows how to disable a session cacheOL-9105-01 Policy tcp No timeout fin-wait timeout-in-seconds Delayed-ack-threshold delayDelayed-ack-timeout timer 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 beSsl-proxy config-ctx-tcp-policy# mss Policy url-rewrite Ssl-proxyconfig-context#ssl-proxy policy url-rewrite test1 RedirectonlyPool ca ca-pool-name Pool caCa-pool-name Certificate authority pool name Service Inservice Authenticate verify all signature-onlyDefault certificate inservice nat server Certificate rsa general-purpose trustpointVirtual policy tcp Virtual policy ssl ssl-policy-nameVlan vlan Related Commands show ssl-proxy service Service client Policy health-probe tcp Policy http-headerVirtual policy tcp Nat server client natpool-nameVirtual policy ssl ssl-policy-name Vlan vlanSsl-proxy config-ctx-ssl-proxy# server policy tcp tcppl1 Policy tcp Show interfaces ssl-proxyShow interfaces ssl-proxy 0.subinterface Show ionterfacesShow ssl-proxy buffers This command has no default settingsShow ssl-proxy buffers Ssl-proxy#show ssl-proxy buffersSpecific proxy service Show ssl-proxy certificate-history service nameService name Show ssl-proxy certificate-historySsl-proxy# show ssl-proxy certificate-history Record 1, Timestamp000051, 163634 UTC Oct 31Related Commands service Local Show ssl-proxy conn4tuple RemoteContext name Module module Ssl-proxy#show ssl-proxy conn200.200.1438814 58796 Show ssl-proxy context name Context DefaultShow ssl-proxy context Name Optional Name of the contextBrief Show ssl-proxy crash-infoShow ssl-proxy crash-info brief details DetailsStack top Printing 1024 bytes from stack top Ssl-proxy#show ssl-proxy crash-info briefShow ssl-proxy mac address Show ssl-proxy mac addressSsl-proxy#show ssl-proxy mac address Context name Show ssl-proxy natpoolShow ssl-proxy natpool namecontext name NatpoolHttp-header Show ssl-proxy policyHealth-probe tcp Url-rewriteSsl-proxy#show ssl-proxy policy ssl ssl-policy1 Ssl-proxy#show ssl-proxy policy tcp tcp-policy1Ssl-proxy#show ssl-proxy policy health-probe tcp tcp-health Ssl-proxy#show ssl-proxy service Show ssl-proxy serviceShow ssl-proxy service namecontext name Ssl-proxy#show ssl-proxy service S6Service client Show ssl-proxy stats ContentShow ssl-proxy stats type Stats This example shows how to display the TCP statistics This example shows how to display the PKI statisticsSsl-proxy#show ssl-proxy stats context Context name Default This example shows how to display context statisticsSsl-proxy# show ssl-proxy stats hdr This example shows how to display content statistics Ssl-proxy#show ssl-proxy stats contentShow ssl-proxy status fdu ssl tcp Show ssl-proxy statusShow ssl-proxy status TCP cpu is alive Show ssl-proxy version Show ssl-proxy versionSsl-proxy#show ssl-proxy version Debug Show ssl-proxy vlanShow ssl-proxy vlan vlan-iddebugmodule module Optional Displays debug informationSnmp-server enable Defaults Command Modes Command History ExamplesSsl-proxy context name No ssl-proxy context name Command Purpose and Guidelines DefaultsSsl-proxy context Description descriptionPolicy url-rewrite policy-name Policy ssl policy-namePolicy tcp policy-name Pool ca nameSsl-proxy crypto selftest Seconds Global configurationThis example shows how to start a cryptographic self-test Time-intervalSsl-proxy config# ssl-proxy mac address 00e0.b0ff.f232 This example shows how to configure a MAC addressRelated Commands show ssl-proxy mac address Ssl-proxy mac addressSsl-proxy pki This example shows how to enable PKI event-history This example shows how to specify the cache sizeRelated Commands show ssl-proxy stats Ssl-proxy crypto key unlock rsa Key-name Name of the key Passphrase Pass phraseSsl-proxy ip-frag-ttl Time is 6 seconds Global configurationSsl-proxyconfig#ssl-proxy ip-frag-ttl Ssl-proxy ip-frag-ttl timeSsl-proxy ssl ratelimit Ssl-proxy config# ssl-proxy ssl ratelimitSsl-proxy config# no ssl-proxy ssl ratelimit Ssl-proxy ssl ratelimit No ssl-proxy ssl ratelimitStandby authentication Group-number is String is ciscoStandby delay minimum reload Min-delay is 1 second Reload-delay is 5 secondsSsl-proxyconfig#interface ssl-proxy Show standby delaySsl-proxyconfig-subif#standby delay minimum 30 reload Secondary Defaults Command Modes Command History Usage GuidelinesStandby ip Group-number isUsed by the hot standby group is learned using Hsrp 100No standby group-numbermac-address Standby mac-addressStandby group-numbermac-addressmac-address Mac-address MAC addressShow standby Ssl-proxyconfig-subif#standby 1 mac-addressThat is used in the end nodes 102Standby mac-refresh seconds no standby mac-refresh Standby mac-refresh103 Standby name group-name No standby name group-name Hsrp is disabledStandby name Group-name Name of the standby groupStandby preempt 105Clients Operation returns to the default behaviorLeaves any synchronization delay if it was configured To become the active routerNo standby group-numberpriority priority Standby priorityStandby group-numberpriority priority Group-number is Priority isThis example shows how to change the router priority 108Standby redirects 109Show standby redirect Related Commands show standbySsl-proxyconfig-subif#standby redirects timers 90 110Optional Specifies the interval in milliseconds Standby timersMsec 111112 Or comes back up Standby trackDecrement priority 113Related Commands standby preempt Router a ConfigurationRouter B Configuration 114Scope interface Standby use-biaStandby use-bia scope interface no standby use-bia On which it was entered, instead of the major interfaceStandby version 1 This example shows how to configure Hsrp versionStandby version Specifies Hsrp versionAcronym Expansion CDP CbacCCA CEFDscp DramDsap DspuIDB ICDIcmp IDPMdss MD5Mdix MFDOspf OSIOSM PAERommon RmonROM RPCSVI STPSVC TACACS+XNS Weighted round-robinWRR Xerox Network SystemOL-9105-01 Acknowledgments for Open-Source Software OL-9105-01 $ character # character privileged Exec mode promptAsterisk + plus sign Period ? command Caret IN-1IN-2 IN-3 IN-4 TCP IN-5Configuration submode User Exec mode, summary IN-6
Related manuals
Manual 20 pages 62.17 Kb Manual 112 pages 18.84 Kb Manual 262 pages 31.67 Kb