Configuration procedure, N in, Figure 27 – H3C Technologies H3C SecPath F1000-E User Manual

Page 49

Advertising
background image

41

Figure 27 Network diagram

Configuration procedure

1.

Configure SecPath as the HTTPS server:
# Configure a PKI entity, configure the common name of the entity as http-server1, and the FQDN
of the entity as ssl.security.com.

<SecPath> system-view
[SecPath] pki entity en
[SecPath-pki-entity-en] common-name http-server1
[SecPath-pki-entity-en] fqdn ssl.security.com
[SecPath-pki-entity-en] quit

# Create a PKI domain, specify the trusted CA as new-ca, the URL of the server for certificate
request as http://10.1.2.2/certsrv/mscep/mscep.dll, authority for certificate request as RA, and

the entity for certificate request as en.

[SecPath] pki domain 1
[SecPath-pki-domain-1] ca identifier new-ca
[SecPath-pki-domain-1] certificate request url
http://10.1.2.2/certsrv/mscep/mscep.dll
[SecPath-pki-domain-1] certificate request from ra
[SecPath-pki-domain-1] certificate request entity en
[SecPath-pki-domain-1] quit

# Create RSA local key pairs.

[SecPath] public-key local create rsa

# Retrieve the CA certificate from the certificate issuing server.

[SecPath] pki retrieval-certificate ca domain 1

# Request a local certificate from a CA through SCEP for SecPath.

[SecPath] pki request-certificate domain 1

# Create an SSL server policy myssl, specify PKI domain 1 for the SSL server policy, and enable
certificate-based SSL client authentication.

[SecPath] ssl server-policy myssl
[SecPath-ssl-server-policy-myssl] pki-domain 1
[SecPath-ssl-server-policy-myssl] client-verify enable
[SecPath-ssl-server-policy-myssl] quit

# Create a certificate attribute group mygroup1, and configure a certificate attribute rule,

specifying that the Distinguished Name (DN) in the subject name includes the string of new-ca.

[SecPath] pki certificate attribute-group mygroup1
[SecPath-pki-cert-attribute-group-mygroup1] attribute 1 issuer-name dn ctn new-ca
[SecPath-pki-cert-attribute-group-mygroup1] quit

Advertising