
2-6
# Configure an SSL server policy
myssl
, specify PKI domain
1
for it, and enable the SSL server to
perform certificate-based authentication of the client.
[Device] ssl server-policy myssl
[Device-ssl-server-policy-myssl] pki-domain 1
[Device-ssl-server-policy-myssl] client-verify enable
[Device-ssl-server-policy-myssl] quit
# Configure certificate attribute group
mygroup1
, and configure the attribute rules, and specify that the
Distinguished Name (DN) in the issuer name includes
new-ca
.
[Device] pki certificate attribute-group mygroup1
[Device-pki-cert-attribute-group-mygroup1] attribute 1 issuer-name dn ctn new-ca
[Device-pki-cert-attribute-group-mygroup1] quit
# Create certificate access control policy
myacp
and create a control rule, specifying that a certificate is
considered valid when it matches an attribute rule in certificate attribute group mygroup.
[Device] pki certificate access-control-policy myacp
[Device-pki-cert-acp-myacp] rule 1 permit mygroup1
[Device-pki-cert-acp-myacp] quit
# Associate the HTTPS service with the SSL server policy
myssl
.
[Device] ip https ssl-server-policy myssl
# Associate the HTTPS service with certificate attribute access control policy
myacp
, ensuring that only
HTTPS clients retrieving a certificate from
new-ca
can access the HTTPS server.
[Device] ip https certificate access-control-policy myacp
# Enable the HTTPS service.
[Device] ip https enable
# Create a local user
usera
, set the password to
123
, and service type to
telnet
.
[Device] local-user usera
[Device-luser-usera] password simple 123
[Device-luser-usera] service-type telnet
2) Configure the HTTPS client Host
Open the IE on Host, type http://10.1.2.2/certsrv, and request a certificate for Host as prompted.
3) Verify the configuration
Open the IE explorer on Host, enter https://10.1.1.1, select
new-ca
as the certificate for Host, and then
you can log in to Device. On the login page, type username
usera
, and password
123
, and then you can
enter the Web configuration page of Device to access and control it.
z
The URL of the HTTPS server starts with https://, and that of the HTTP server starts with http://.
z
For details of PKI commands, refer to
PKI Commands
in the
Security Volume
.
z
For details of the
public-key local create rsa
command, refer to
Public Key Commands
in the
Security Volume
.
z
For details of SSL commands, refer to
SSL Commands
in the
Security Volume
.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...