05-29-2013
The procedure looks correct. However, I do not know of any verification process.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I suppress the 0a (line feed) in a text file (HP UX) (1 Reply)
Discussion started by: hipo
1 Replies
2. Solaris
Hi,
Can any suggest me some utility to convert xhtml file to postscript file format?
Also tell me from where to down load such utility..
With Regards,
Dattatray (0 Replies)
Discussion started by: dattatray.b
0 Replies
3. Programming
I'm new to C, and I'm attempting to write a script similar to the stat command for practice. I only had a problem converting st_mode to an octal permission format. I remembered I had littleutils installed which contains a script called filemode, so I checked the source and it yielded something like... (4 Replies)
Discussion started by: petebear
4 Replies
4. Shell Programming and Scripting
Hi all,
How can i convert a file from one encoding to another?
Lets say I have a file which is of utf-8 encoding and I want to convert it to cp875.
Can anyone tell me how can I achieve this in shell script?
Thanks,
Sridhar (2 Replies)
Discussion started by: sridhar_423
2 Replies
5. Shell Programming and Scripting
Hi Everyone,
Can someone plesae advise on converting the inputted file into required output? First field is L then amount will - symbol.
Sample input file
B|T|SASOFTB00016|20090330|20090330|15000|9089001
B|T|SABH00000012|20090330|20090330|7000|9089003... (4 Replies)
Discussion started by: gehlnar
4 Replies
6. Shell Programming and Scripting
This is the ldf file
dn: sdcsmsisdn=1000000049,sdcsDatabase=subscriberCache,dc=example,dc=com
objectClass: sdcsSubscriber
objectClass: top
postalCode: 29600
sdcsServiceLevel: 10
sdcsCustomerType: 14
givenName: Adelia
sdcsBlackListAll: FALSE
sdcsOwnerType: T-Mobile
sn: Actionteam... (1 Reply)
Discussion started by: LinuxFriend
1 Replies
7. Shell Programming and Scripting
Request if some one could provide me shell script that converts the below "input file" to "CSV format file" given
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- ----- ---------------------------------... (7 Replies)
Discussion started by: sreenath1037
7 Replies
8. Shell Programming and Scripting
Input file (each line is separaed by spaces )given below:
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- -----... (18 Replies)
Discussion started by: sreenath1037
18 Replies
9. Shell Programming and Scripting
Hi,
I have an excel file in unix and I want a script which changes the excel file to .csv file i.e (comma separated value file).
Would be thankful to you if some one helps me with this.
Thanks in advance. (3 Replies)
Discussion started by: karthikkasarla
3 Replies
10. Linux
I have a .CSV file when I check for the special characters in the file using the command cat -vet filename.csv, i get very lengthy lines with "^@", "^I^@" and "^@^M" characters in between each alphabet in all of the records. Using the code below file filename.csv I get the output as
I have a... (2 Replies)
Discussion started by: dhruuv369
2 Replies
LEARN ABOUT NETBSD
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
LIBRARY
libcrypto, -lcrypto
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.
1.0.1i 2009-07-20 SSL_CTX_set_cert_verify_callback(3)