OpenShift证书批准及查询证书过期时间

oc get csr | grep -i pending | awk '{print $1}' | xargs oc adm certificate approve

for i in /etc/origin/master/*.crt;do echo $i; openssl x509 -in $i -text -noout | egrep "Not Before|Not After";echo "-----------";done
for i in /etc/origin/node/*.crt;do echo $i; openssl x509 -in $i -text -noout | egrep "Not Before|Not After";echo "-----------";done
上一篇:使用kettle将网页图片转存到数据库


下一篇:OpenShift 3 : 基于Docker的私有PaaS平台