RetroZilla/security/nss/tests/chains/scenarios/nameconstraints.cfg
2018-05-19 22:01:21 +08:00

23 lines
534 B
INI

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
scenario TrustAnchors
db trustanchors
import NameConstraints.ca:x:CT,C,C
verify NameConstraints.server1:x
cert NameConstraints.intermediate:x
result fail
verify NameConstraints.server2:x
cert NameConstraints.intermediate:x
result fail
verify NameConstraints.server3:x
cert NameConstraints.intermediate:x
result pass