openssl x509:No 指定加载证书的文件名或uri

openssl x509:No filename or uri specified for loading certificate

openssl x509 -inform DER -noout -subject <certificate

错误: 没有为加载证书指定文件名或 uri 无法加载证书

我发现是OpenSSL版本导致的,我用的是alpha版本(OpenSSL 3.0.0-alpha7-dev)

更改为稳定版本的 OpenSSL 解决了我的问题。