9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hi
how to check ssl certificate expiry date using openssl command
try below code it is not working, any help
echo q | openssl s_client -connect akamai.com:443 | openssl x509 -noout -enddate
socket: Bad file descriptor
connect:errno=9
unable to load certificate... (0 Replies)
Discussion started by: raghur77
0 Replies
2. UNIX for Advanced & Expert Users
:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl.
I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key.
I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
3. UNIX for Advanced & Expert Users
Hi All,
Using Wget I'm able to get the status of the server.....only when the server is completely down or up....
but problem here in script is Suppose if the server got hang I mean to say that if the server is taking long time to login, for example normally the server takes 3 seconds to login... (3 Replies)
Discussion started by: manohar2013
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Team,
I understand that this query does not involve Unix exactly, but can anyone give me pointers as to know which Servers host a particular certificate i.e xyz.intra.com . The Development team has left long back and we have no idea how to ascertain on which servers the certificate is hosted... (1 Reply)
Discussion started by: srkmish
1 Replies
5. Shell Programming and Scripting
hello
check this script it jump to else part, in n both cases,
(if files exist or not)
wget $MIRROR/kkk.zip && wget $MIRROR/jjj.zip
RC="$?"
if ]
then
echo -e "$RED Ooops, Download links are broken...! $RESET"
else
echo -e "$GREEN Everything is fine, Cheers ... $RESET"
fi (4 Replies)
Discussion started by: nimafire
4 Replies
6. Shell Programming and Scripting
how can you check if wget finishes?
i have this code to store the source of a website url into a variable:
source=$(wget --timeout=15 -qO - $site)
but this gets stuck sometimes
e.g., one site had a virus and it stopped the script
how can i check if wget finishes?
i tried to run... (5 Replies)
Discussion started by: vanessafan99
5 Replies
7. Shell Programming and Scripting
I all,
I wrote an script which starts a Weblogic server and waits until its loaded to deploy several apps. The way I checked was something like:
while ; do
wget --spider <URL>:<port>/console > /dev/null 2>&1
rc=$?
done
This works perfectly because it's an HTML site and when server is... (2 Replies)
Discussion started by: AlbertGM
2 Replies
8. Web Development
Hello everybody
Hope somebody can help me
I'm trying to install SSL Certificate on Apache/mod_ssl on Linux with Zend for Oracle.
I bought and downloaded certificate from certificate from Network Solutions. Than I followed the instructions to the dot.
I created a directory for certificate... (2 Replies)
Discussion started by: Trusevich
2 Replies
9. Shell Programming and Scripting
Hello,
I'm using a shell script containing a wget-command that copies html-files from a website to my ISP-server. I therefore want to check if that file exist and also if the filessize is larger than e.g. 100 bytes. Probably it's done by using something like fileexist and filesize.
The wget... (3 Replies)
Discussion started by: weatherboys
3 Replies
SSL_get_peer_certificate(3SSL) OpenSSL SSL_get_peer_certificate(3SSL)
NAME
SSL_get_peer_certificate - get the X509 certificate of the peer
SYNOPSIS
#include <openssl/ssl.h>
X509 *SSL_get_peer_certificate(const SSL *ssl);
DESCRIPTION
SSL_get_peer_certificate() returns a pointer to the X509 certificate the peer presented. If the peer did not present a certificate, NULL is
returned.
NOTES
Due to the protocol definition, a TLS/SSL server will always send a certificate, if present. A client will only send a certificate when
explicitly requested to do so by the server (see SSL_CTX_set_verify(3)). If an anonymous cipher is used, no certificates are sent.
That a certificate is returned does not indicate information about the verification state, use SSL_get_verify_result(3) to check the
verification state.
The reference count of the X509 object is incremented by one, so that it will not be destroyed when the session containing the peer
certificate is freed. The X509 object must be explicitly freed using X509_free().
RETURN VALUES
The following return values can occur:
NULL
No certificate was presented by the peer or no connection was established.
Pointer to an X509 certificate
The return value points to the certificate presented by the peer.
SEE ALSO
ssl(3), SSL_get_verify_result(3), SSL_CTX_set_verify(3)
1.0.1e 2013-02-11 SSL_get_peer_certificate(3SSL)