小编Sta*_*sky的帖子

Linux/OpenSSL:将查找输出发送到 openssl

我正在尝试将 find 命令的输出发送到 OpenSSL,以便确定证书何时到期。

这将找到文件

find . -name \*.pem -type f
Run Code Online (Sandbox Code Playgroud)

这会生成我想要的证书信息

openssl x509 -in certname.pem -noout -enddate
Run Code Online (Sandbox Code Playgroud)

我可以合并这两个吗?

谢谢你的帮助。

linux bash openssl find x509certificate

2
推荐指数
1
解决办法
1610
查看次数

标签 统计

bash ×1

find ×1

linux ×1

openssl ×1

x509certificate ×1