$ openssl x509 -in certifikat.pem -noout -text | grep 'Not '
Not Before: Jan 19 13:36:11 2010 GMT Not After : Jan 19 13:35:42 2020 GMT
openssl req -in zadost.csr -noout -text