12-06-2013
Did you run the software verification?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dears,
I've written a script which allows me to send mails in different formats with different attaches. Now I still want to add a feature to this script. My users would like to be able to receive a "read" or "delivered" receipt for their mails.
The script send mails on behalve of an specific... (1 Reply)
Discussion started by: plelie2
1 Replies
2. UNIX for Advanced & Expert Users
For a few weeks now, on several of our machines, i've been seeing this in /var/log/messages and dmesg:
Nov 14 16:37:48 stg2 kernel: svc: bad direction 256, dropping request
Nov 14 16:37:48 stg2 kernel: svc: short len 4, dropping request
Nov 14 16:38:02 stg2 kernel: svc: bad direction 256,... (2 Replies)
Discussion started by: fishsponge
2 Replies
3. Shell Programming and Scripting
Hello,
I need assistance with creating a shell script to generate SSL Certificate Requests on remote hosts. Below is my stab at this, but I cannot figure out how to pass the requested arguments into the openssl command correctly. I have a major problem with redirecting the "answers" into the... (2 Replies)
Discussion started by: azvelocat
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Emergency UNIX and Linux Support
Hi,
this might sound somewhat weird, but I need a command to remove all packages on my machine with dpkg.
I know dpkg -l will list all packages, but the troublemaker isn't on the list, and the problems started as I updated the program :wall:.
Thanks in advance, I REALLY appreciate it :b: (8 Replies)
Discussion started by: pasc
8 Replies
6. Solaris
Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT OSX
ssl_ctx_set_cert_verify_callback
SSL_CTX_set_cert_verify_callback(3) OpenSSL SSL_CTX_set_cert_verify_callback(3)
NAME
SSL_CTX_set_cert_verify_callback - set peer certificate verification procedure
SYNOPSIS
#include <openssl/ssl.h>
void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*callback)(X509_STORE_CTX *,void *), void *arg);
DESCRIPTION
SSL_CTX_set_cert_verify_callback() sets the verification callback function for ctx. SSL objects that are created from ctx inherit the
setting valid at the time when SSL_new(3) is called.
NOTES
Whenever a certificate is verified during a SSL/TLS handshake, a verification function is called. If the application does not explicitly
specify a verification callback function, the built-in verification function is used. If a verification callback callback is specified via
SSL_CTX_set_cert_verify_callback(), the supplied callback function is called instead. By setting callback to NULL, the default behaviour is
restored.
When the verification must be performed, callback will be called with the arguments callback(X509_STORE_CTX *x509_store_ctx, void *arg).
The argument arg is specified by the application when setting callback.
callback should return 1 to indicate verification success and 0 to indicate verification failure. If SSL_VERIFY_PEER is set and callback
returns 0, the handshake will fail. As the verification procedure may allow to continue the connection in case of failure (by always
returning 1) the verification result must be set in any case using the error member of x509_store_ctx so that the calling application will
be informed about the detailed result of the verification procedure!
Within x509_store_ctx, callback has access to the verify_callback function set using SSL_CTX_set_verify(3).
WARNINGS
Do not mix the verification callback described in this function with the verify_callback function called during the verification process.
The latter is set using the SSL_CTX_set_verify(3) family of functions.
Providing a complete verification procedure including certificate purpose settings etc is a complex task. The built-in procedure is quite
powerful and in most cases it should be sufficient to modify its behaviour using the verify_callback function.
BUGS
RETURN VALUES
SSL_CTX_set_cert_verify_callback() does not provide diagnostic information.
SEE ALSO
ssl(3), SSL_CTX_set_verify(3), SSL_get_verify_result(3), SSL_CTX_load_verify_locations(3)
HISTORY
Previous to OpenSSL 0.9.7, the arg argument to SSL_CTX_set_cert_verify_callback was ignored, and callback was called simply as
int (*callback)(X509_STORE_CTX *) To compile software written for previous versions of OpenSSL, a dummy argument will have to be added to
callback.
50 2013-03-05 SSL_CTX_set_cert_verify_callback(3)