Skip to content

Onde posso ver até quando vai o tempo do certificado? #373

Answered by andreroggeri
lipemorais asked this question in Q&A
Discussion options

You must be logged in to vote

É possível fazer isso utilizando o openssl

$ openssl pkcs12 -info -in cert.p12 -nodes | openssl x509 -noout -enddate
Enter Import Password: # <------ Não precisa colocar nada
MAC Iteration 1
MAC verified OK
PKCS7 Encrypted data: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
Certificate bag
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048
notAfter=Jan 21 12:45:02 2023 GMT # <------ Válido até essa data.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lipemorais
Comment options

Answer selected by andreroggeri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants