09-16-2013
Keytool command to check expiration dates of certificates
Friends,
I'm in search of a keytool command which pulls the expiration dates of certificates in keystore. I have around 200 certs in my keystore, so would like to know if we have any script/command which can pull expiration dates of certificates at one run.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
How do I view/set the expiration dates of the accounts passwords in my FreeBSD ?
Thanks in advance (1 Reply)
Discussion started by: sbayeta
1 Replies
2. UNIX for Advanced & Expert Users
Hi ..
I want to check the date for one file which is present on the remote machine.
How do i do that??
Also if i'm only having the sudo rights .. can i do that with my login or do i need all the access rights??
Please let me know asap. (3 Replies)
Discussion started by: decci_7
3 Replies
3. AIX
Hi all
I am using IBM machines with tape drive, what i do is go to informis and i insert the tape and run the command "ontape -s -L " and the level of backup that i want to take. Now what i want to check is which days are the backup being run, does the system create a log and stores info where... (0 Replies)
Discussion started by: masquerer
0 Replies
4. Cybersecurity
Does anyone know how to extract the expiration date of a Solaris 9 certificate? I have searched over the 'net and it seems this command ssl-cert-check comes up often but this does not work on my servers. Not sure how to extraxt the expiration dates of the SSL Certs so if anyone can help that would... (2 Replies)
Discussion started by: bluridge
2 Replies
5. Shell Programming and Scripting
Hi All,
Warm New Year Wishes to every one
I am New to UNIX and i don't have much Experience on UNIX Scripting, so can someone help me out on below Request
I have Digital certificates that are being used in My current project. All these Certificates are of Extensions (.cert and .pfx)... (1 Reply)
Discussion started by: manukonda0102
1 Replies
6. Shell Programming and Scripting
Hi All, I have certificates that are being used in my current Project and all the Certificates are of extension ( .pfx - Identities , .cert - trusted certificates etc). All these certificates will expire in some other time. Can someone help me out in providing a script that is used to check the... (0 Replies)
Discussion started by: manukonda0102
0 Replies
7. HP-UX
Hi Guys,
I am new to HP-UX and want to find expiration date of particular user please also note i don't have root access on that server.
for e.g.
i have user abc on my HP box and want to know when its password going to expire and also when its password changed last time.
I also try to... (7 Replies)
Discussion started by: Yasin Rakhangi
7 Replies
8. Shell Programming and Scripting
i am reading line by line from a file as below
while IFS= read -r var
do
...
...
...
done < "hello.txt"
I added the keytool command in the do while loop as below.
while IFS= read -r var
do
...
keytool -genkey -alias $fname -keyalg RSA -keystore $fname.jks -keysize 2048
...
done... (3 Replies)
Discussion started by: mohtashims
3 Replies
9. Programming
I first generated jks using
keytool -genkey -alias keyAlias-keyalg RSA -keypass changeit -storepass changeit keystore keystore.jksThen i generated the csr using
keytool -certreq -alias $addr -sigalg SHA256withRSA -keystore $addr.jks -file $addr.csr Below is how i self sign and generate the... (0 Replies)
Discussion started by: mohtashims
0 Replies
LEARN ABOUT SUSE
update-ca-certificates
UPDATE-CA-CERTIFICATES(8) System Manager's Manual UPDATE-CA-CERTIFICATES(8)
NAME
update-ca-certificates - update system CA certificates
SYNOPSIS
update-ca-certificates [options]
DESCRIPTION
update-ca-certificates updates the directory /etc/ssl/certs to hold SSL certificates and generates /etc/ssl/ca-bundle.pem, a concatenated
single-file list of certificates.
It reads the file /etc/ca-certificates.conf. Each line gives a pathname of a CA certificate under /usr/share/ca-certificates that should be
trusted. Lines that begin with "#" are comment lines and thus ignored. Lines that begin with "!" are deselected, causing the deactivation
of the CA certificate in question. All certificates are implicitly trusted if no trusted certificates are listed.
Furthermore all certificates found below /usr/local/share/ca-certificates are also included as implicitly trusted.
After populating /etc/ssl/certs update-ca-certificates invokes custom hooks in /usr/lib/ca-certificates/update.d/*.run and /etc/ca-certifi-
cates/update.d/*.run. The command line options used for invoking update-ca-certificates are passed to the hooks as well.
OPTIONS
A summary of options is included below.
-h, --help
Show summary of options.
-v, --verbose
Be verbose. Output c_rehash.
-f, --fresh
Fresh updates. Removes symlinks in /etc/ssl/certs directory and re-creates them from scratch.
FILES
/etc/ca-certificates.conf
A configuration file.
/etc/ssl/ca-bundle.pem
A single-file version of all CA certificates. Use of this file is deprecated and should only be used as last resort by applications
that cannot parse the /etc/ssl/certs directory.
/usr/share/ca-certificates
Directory of CA certificates. /usr/local/share/ca-certificates Directory of local CA certificates.
SEE ALSO
c_rehash(1),
AUTHOR
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project and modified by Ludwig Nussel <ludwig.nus-
sel@suse.de>.
27 April 2010 UPDATE-CA-CERTIFICATES(8)