LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 09-21-2011, 06:18 AM   #1
sunilsagar
LQ Newbie
 
Registered: Jul 2011
Posts: 29

Rep: Reputation: Disabled
find expiry date of SSLcertificate


Is it possible to find the expiry date of SSL certificate using any command.
Later I will compare with current date and will send mail to user 60 days before the expiry date.

Any suggestion.

.. Thanks
Sunil
 
Old 09-21-2011, 07:25 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You can use:
Code:
openssl x509 -noout -dates -in /path/to/certificate.crt
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User login expiry date? geekgrl Linux - Security 7 07-04-2011 07:08 AM
[SOLVED] adding the expiry date in freebsd annaabhi Linux - Server 2 07-01-2011 02:12 AM
Expiry date for users kapilbajpai88 Linux - Newbie 3 04-27-2009 03:46 PM
how to check the password expiry date of a user? binary_0011 Other *NIX 1 06-04-2008 02:37 AM
Terminal Command to find out expiry date on user accounts Caighil Linux - Newbie 3 02-29-2008 05:47 PM


All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration