Configuring An Ssl Client Policy - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

# Create the local RSA key pairs.
[Switch] public-key local create rsa
# Retrieve the CA certificate.
[Switch] pki retrieval-certificate ca domain 1
# Request a local certificate for Switch.
[Switch] pki request-certificate domain 1
# Create an SSL server policy named myssl.
[Switch] ssl server-policy myssl
# Specify the PKI domain for the SSL server policy as 1.
[Switch-ssl-server-policy-myssl] pki-domain 1
# Enable client authentication.
[Switch-ssl-server-policy-myssl] client-verify enable
[Switch-ssl-server-policy-myssl] quit
# Configure HTTPS service to use SSL server policy myssl.
[Switch] ip https ssl-server-policy myssl
# Enable HTTPS service.
[Switch] ip https enable
# Create a local user named usera, and set the password to 123 and service type to web.
[Switch] local-user usera
[Switch-luser-usera] password simple 123
[Switch-luser-usera] service-type web
Configure the HTTPS client (Host):
2.
On Host, launch IE, enter http://10.1.2.2/certsrv in the address bar and request a certificate for
Host as prompted.
Verify the configuration:
3.
Launch IE on the host, enter https://10.1.1.1 in the address bar, and select the certificate issued
by the CA server. The web interface of the switch should appear. After entering username usera
and password 123, you should be able to log in to the web interface to access and manage the
switch.
For more information about PKI configuration commands and the public-key local create rsa command,
see Security Command Reference.
For more information about HTTPS, see Fundamentals Configuration Guide.

Configuring an SSL client policy

An SSL client policy is a set of SSL parameters for a client to use when connecting to the server. An SSL
client policy takes effect only after it is associated with an application layer protocol.
To configure an SSL client policy:
Step
1.
Enter system view.
2.
Create an SSL client policy
and enter its view.
Command
system-view
ssl client-policy policy-name
316
Remarks
N/A
N/A

Advertisement

Table of Contents
loading

Table of Contents