First you will need to translate the pkcs12 certificate into a PEM certificate.
The PEM certificate is only needed temporarily and can later be removed.
1
2
3
4
5
|
$
openssl pkcs12 - in
certificate.p12 -out tempcrt.pem
Enter
Import Password:
MAC
verified OK
Enter
PEM pass phrase:
Verifying
- Enter PEM pass phrase:
|
Now, we use thetempcrt.pemthat we generated to determine the expiration date. The first method, which only displays the expiration date can be retrieved
like this:
1
2
|
$
openssl x509 - in
tempcrt.pem -noout -enddate
notAfter=Jan
3 23:19:24 2009 GMT
|
The second method which includes a lot more detail about the certificate below, I’ve only included the details relevant to the creation and expiration dates.
1
2
3
4
5
6
|
$
openssl x509 - in
tempcrt.pem -noout -text
[
... snip ... ]
Validity
Not
Before: Jan 3 23:19:24 2008 GMT
Not
After : Jan 3 23:19:24 2009 GMT
[
... snip ... ]
|
http://bsdsupport.org/how-do-i-determine-the-expiration-date-of-a-p12-certificate/
分享到:
相关推荐
How to Determine the Type of Supervisor Module
NULL 博文链接:https://jason-zh.iteye.com/blog/487706
We must define what we mean by the word “game.” We must also determine the fundamental characteristics of all games. After discussing some of the obstacles inherent in this effort, I will briefly ...
JEDEC JESD33B:2004(R2018) Standard Method for Measuring and Using the Temperature Coefficient of Resistance to Determine the Temperature of a Metallization Line - 完整英文电子版(37页).pdf
What can I check if I am not seeing the expected version of a dependency? Why am I getting an error 'cannot find module providing package foo'? Why does 'go mod init' give the error 'cannot determine ...
Customer Relationship Management is a topic that has attracted the attention of both marketing practitioners and researchers over the last decade. Despite, or maybe due to, the attention drawn to ...
performance and stability.” The architectural guidelines help determine whether a problem that someone wants to be solved is within the scope of the project Chapter 2 Definitions 2.1. Activity An...
The trick is to determine when to use the different parts of the brain, and to do this, we need to think harder (and smarter) about how we think. Jonah Lehrer arms us with the tools we need, ...
When the past no longer illuminates the future, people will wander in the dark
The latter is used to determine the minimal overlapping of two adjacent radio cells required for a seamless, i.e. interruptfree handover. Results show that the required overlapping for a zero-delay ...
A long-standing problem in classication is the determination of the regularization parameter. Nearly every classication algorithm uses a parameter (or set of parameters) to control classier complexity...
Each index row in node pages contains an index key (or set of keys for a composite index) and a pointer to a page at the next level for which the first key value is the same as the key value in the ...
Determine which development techniques work best for you, and practice the important skill of debugging Learn relationships among input and output, decisions and loops, classes and methods, strings ...
Out of Bag Errors & Cross Validation - how good of a fit did the machine learning algorithm make? Gini Criteria & Entropy Criteria - how to tell which split on a decision tree is best among many ...
A Novel Method to Determine the Redshifts of Active Galaxies Based on Wavelet Transform
kmeans determine the frequency
the probability of attempting to transmit a frame, the transmission opportunity (TXOP), and the physical layer transmission rate, contribute to congestion. Additionally, we consider the joint control ...
Before we look at how SQL Server uses and manages its memory, we need to ensure a full understanding of the more common memory related terms. The following definitions will help you understand how SQL...
An important method for the systematic evaluation of functions obeying a linear recurrence relation with respect to one of their parameters is to solve the relation recursively, making use of known ...
The book covers unit, system, and non-functional tests and includes examples on how to estimate the number of bugs expected to be found, the time required for testing, and the date when a release is ...