文章目录
- openssl3.2/test/certs - 018 - trust variants: +anyEKU, -anyEKU
- 概述
- 笔记
- END
openssl3.2/test/certs - 018 - trust variants: +anyEKU, -anyEKU
概述
openssl3.2 - 官方demo学习 - test - certs
笔记
#! /bin/bash# ca-cert.pem from exp 015# openssl3.2/test/certs - 018 - trust variants: +anyEKU, -anyEKU
openssl x509 -in ca-cert.pem -trustout -addtrust anyExtendedKeyUsage -out ca+anyEKU.pem
openssl x509 -in ca-cert.pem -trustout -addreject anyExtendedKeyUsage -out ca-anyEKU.pem