Archive for May, 2013

how to check mac os bit


about this mac -> look at processor name and search in following table .

Intel Core Solo 32 bit
Intel Core Duo 32 bit
Intel Core 2 Duo 64 bit
Intel Quad-Core Xeon 64 bit
Dual-Core Intel Xeon 64 bit
Quad-Core Intel Xeon 64 bit
Core i3 64 bit
Core i5 64 bit
Core i7 64 bit
Categories: Uncategorized Tags:

how to check the expiry of your certificate at linux

i updated my old SSL certificate with newer one. now need to know what is the expiry date of this certificate. 

lets see how to check expiry date of SSL certificate.

suppose you even don't know the path to certificate. 

# grep -r "^SSLCertificateFile" /etc/httpd/conf*

this output will tell you the path to your certificate file (in my case /etc/pki/tls/certs/mycertificate.file.crt)

# cd /etc/pki/tls/certs (or the path you found above)
# openssl x509 -in mycertificate.file.crt -noout -enddate

output might be like this 
notAfter=May 16 07:43:06 2015 GMT
Categories: aws, linux, network, SSL certificate, Web