用openssl 指令查询pem证书的有效期

openssl x509 -enddate -noout -in file.pem