Changes

no edit summary
Line 132: Line 132:  
(image)
 
(image)
    +
Step 4: Create certificates
 +
Stunnel uses SSL certificate to secure its connections, which you can easily create using the commands:
 +
 +
*openssl genrsa -out key.pem 2048
 +
*openssl req -new -x509 -key key.pem -out cert.pem -days 1095
 +
 +
and then create file stunnel.pem
 +
* nano /etc/stunnel/stunnel.pem
 +
 +
copy the certificates to stunnel.pem file:
 +
* cat key.pem cert.pem >> /etc/stunnel/stunnel.pem
 +
 +
(image)
 +
 +
Step 5: Restart stunnel
 +
 +
restart the stunnel configuration using the command:
 +
* /etc/init.d/stunnel4 restart
 +
 +
(image)
 
==Testing Results==
 
==Testing Results==

Navigation menu