251
Examples
# Create an access control rule, specifying that a certificate is considered valid when it matches an
attribute rule in the certificate attribute group
mygroup
.
<Sysname> system-view
[Sysname] pki certificate access-control-policy mypolicy
[Sysname-pki-cert-acp-mypolicy] rule 1 permit mygroup
state
Use
state
to specify the name of the state or province where an entity resides.
Use
undo state
to remove the configuration.
Syntax
state
state-name
undo state
Default
No state or province is specified.
Views
PKI entity view
Default command level
2: System level
Parameters
state-name
: Specifies the state or province name, a case-insensitive string of 1 to 31 characters. No
comma can be included.
Examples
# Specify the state where an entity resides.
<Sysname> system-view
[Sysname] pki entity 1
[Sysname-pki-entity-1] state country