Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ssl_set_fd(3) [centos man page]

SSL_set_fd(3)							      OpenSSL							     SSL_set_fd(3)

NAME
SSL_set_fd - connect the SSL object with a file descriptor SYNOPSIS
#include <openssl/ssl.h> int SSL_set_fd(SSL *ssl, int fd); int SSL_set_rfd(SSL *ssl, int fd); int SSL_set_wfd(SSL *ssl, int fd); DESCRIPTION
SSL_set_fd() sets the file descriptor fd as the input/output facility for the TLS/SSL (encrypted) side of ssl. fd will typically be the socket file descriptor of a network connection. When performing the operation, a socket BIO is automatically created to interface between the ssl and fd. The BIO and hence the SSL engine inherit the behaviour of fd. If fd is non-blocking, the ssl will also have non-blocking behaviour. If there was already a BIO connected to ssl, BIO_free() will be called (for both the reading and writing side, if different). SSL_set_rfd() and SSL_set_wfd() perform the respective action, but only for the read channel or the write channel, which can be set independently. RETURN VALUES
The following return values can occur: 0 The operation failed. Check the error stack to find out why. 1 The operation succeeded. SEE ALSO
SSL_get_fd(3), SSL_set_bio(3), SSL_connect(3), SSL_accept(3), SSL_shutdown(3), ssl(3) , bio(3) 1.0.1e 2014-06-17 SSL_set_fd(3)

Check Out this Related Man Page

SSL_set_fd(3SSL)						      OpenSSL							  SSL_set_fd(3SSL)

NAME
SSL_set_fd - connect the SSL object with a file descriptor SYNOPSIS
#include <openssl/ssl.h> int SSL_set_fd(SSL *ssl, int fd); int SSL_set_rfd(SSL *ssl, int fd); int SSL_set_wfd(SSL *ssl, int fd); DESCRIPTION
SSL_set_fd() sets the file descriptor fd as the input/output facility for the TLS/SSL (encrypted) side of ssl. fd will typically be the socket file descriptor of a network connection. When performing the operation, a socket BIO is automatically created to interface between the ssl and fd. The BIO and hence the SSL engine inherit the behaviour of fd. If fd is non-blocking, the ssl will also have non-blocking behaviour. If there was already a BIO connected to ssl, BIO_free() will be called (for both the reading and writing side, if different). SSL_set_rfd() and SSL_set_wfd() perform the respective action, but only for the read channel or the write channel, which can be set independently. RETURN VALUES
The following return values can occur: 0 The operation failed. Check the error stack to find out why. 1 The operation succeeded. SEE ALSO
SSL_get_fd(3), SSL_set_bio(3), SSL_connect(3), SSL_accept(3), SSL_shutdown(3), ssl(3) , bio(3) 1.0.1e 2013-02-11 SSL_set_fd(3SSL)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

looking for SSL software package (AIX 5.1)

When i install SSH on AIX 5.1 I get the following message { A prerequisite package has not been installed. Open SSH requires Open SSL (Secure Sockets Layer). Please install Open SSL from the AIX Toolbox for Linux CD or Toolbox website: } I cannot find the AIX toolbox for linux CD, also on... (1 Reply)
Discussion started by: janr
1 Replies

2. UNIX for Advanced & Expert Users

ssl certs

Hi all can anyone tell me how i can discover the strength of encryption in an ssl cert. I have used various methods ie apps and verisign web page but they just give me general info. I need to know the encryption level. The cert in question is used in Weblogic application for Solaris 8 any... (1 Reply)
Discussion started by: silvaman
1 Replies

3. Shell Programming and Scripting

Getting variables out of .csv lines

I have a csv file looking like: echo,w-cai,w-cai-ssl echo,countrywide,countrywide-ssl haystack,intranet3,intranet3-ssl haystack,pnf,pnf-ssl Basically, I want to process this file row by row assigning each word delimited by a comma to a variable. ie. for the first row, $variable1=echo... (5 Replies)
Discussion started by: Sn33R
5 Replies

4. UNIX for Advanced & Expert Users

implicit ssl vs explicit ssl

Can someone explain the difference between the two. Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies

5. Shell Programming and Scripting

grep problem

Example: bash:pwd /home/balamv bash:more test.txt hello hello-ssl welcome welcome-ssl hi bye bye-ssl seeyou I want to get all the lines which contain ssl and also the one does not contain ssl. Output should be like this. (4 Replies)
Discussion started by: balamv
4 Replies

6. Linux

Socket Error for LAMP on Fedora 7

Hi. um. I'm trying to make a LAMP server on Fedora 7, but When I try to turn Apache/Httpd on, it gives me this error: # chkconfig -- levels 235 httpd on # /etc/init.d/httpd start Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.1.110.80 no listening... (8 Replies)
Discussion started by: umja345
8 Replies

7. Solaris

Self ssl alternate in Solaris

Instead of using an external Certification Authority CA such as Verisgn, in windows I have been told there is something called self ssl ( The server is its own Certification Authority) In Solaris is there such an alternate? In need it for apache. Much appreciate for any guidence. Thanks (2 Replies)
Discussion started by: Tirmazi
2 Replies

8. Solaris

loadbalanced http and ssl

Hello, I have 2 solaris 10 systems which are behind a load balancer serving 50% requests each. Both systems are installed with an application which run apache http server on port 80 and 443. both systems use the same virtual hostname like (app.domain.com). So when users hit http://app.domain.com... (1 Reply)
Discussion started by: upengan78
1 Replies

9. Solaris

SSL key Apache

We are running Apache 1.3 on solaris 8 we have renewed our ssl key with verisign. They have confirmed renewel and new ssl certifcate is appended to the end of the email. out apache config file has two directives SSLCertificateFile /export/home/apache/conf/ssl.crt/xxxx.crt SSLCertificationKeyFile... (2 Replies)
Discussion started by: Tirmazi
2 Replies

10. UNIX for Dummies Questions & Answers

lynx browser + SSL

I want to browse to java.sun.. to download Java JDK I built openSSL then tried to build lynx to use it by: ./configure --with-ssl It finds the ssl .h files but cant link, last 3 lines from .configure are: checking for openssl include directory... yes checking if we can link to ssl... (6 Replies)
Discussion started by: mikebgx
6 Replies

11. UNIX for Dummies Questions & Answers

Automating ftp job using implicit ssl?

Can this be done? Or do you need some other program installed on the AIX box? (6 Replies)
Discussion started by: NycUnxer
6 Replies

12. IP Networking

Using SSL in Apache2

I am running apache2 in my local network and I am learning about the ssl. I found this document. It tell me to run the following command (down) in order to generate SSL certificate: apache2-ssl-certificate However when I run the command I get the message that there is no such command. I... (6 Replies)
Discussion started by: programAngel
6 Replies

13. Linux

ssl certification..

hi .. am senthil.. need clarification in SSL certification... what kind of algorithm do they support... m a newbie to SSL guide me eith your ideas.. (5 Replies)
Discussion started by: senkerth
5 Replies

14. Programming

Perl to extract ssl certs from xml file

HI Guys, I'm a newbie in perl. (4 Replies)
Discussion started by: jhamaks
4 Replies

15. Shell Programming and Scripting

Escaping Forward Slash

./split2.sh: line 1: split/ssl/pop3s.txt: No such file or directory sort: cannot read: split/ssl/pop3s.txt: No such file or directory Hi there, I am pulling data from the following source: ssl/http ssl/http ssl/http-alt ssl/https ssl/https ssl/https ssl/https ssl/https ssl/https... (3 Replies)
Discussion started by: alvinoo
3 Replies