Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
PDF Export
More
Search
Changes
← Older edit
Newer edit →
Stunnel configuration example using Telnet
(view source)
Revision as of 04:41, 21 November 2022
3 bytes added
,
04:41, 21 November 2022
→Stunnel Configuration
Line 134:
Line 134:
'''Step 4: Create certificates'''
'''Step 4: Create certificates'''
+
Stunnel uses SSL certificate to secure its connections, which you can easily create using the commands:
Stunnel uses SSL certificate to secure its connections, which you can easily create using the commands:
*openssl genrsa -out key.pem 2048
*openssl genrsa -out key.pem 2048
*openssl req -new -x509 -key key.pem -out cert.pem -days 1095
*openssl req -new -x509 -key key.pem -out cert.pem -days 1095
+
and then create file stunnel.pem
and then create file stunnel.pem
* nano /etc/stunnel/stunnel.pem
* nano /etc/stunnel/stunnel.pem
+
copy the certificates to stunnel.pem file:
copy the certificates to stunnel.pem file:
* cat key.pem cert.pem >> /etc/stunnel/stunnel.pem
* cat key.pem cert.pem >> /etc/stunnel/stunnel.pem
+
[[File:Networking Rut955 manual stunnel certificates ubuntu v1.bmp|border]]
[[File:Networking Rut955 manual stunnel certificates ubuntu v1.bmp|border]]
Line 154:
Line 158:
[[File:Networking Rut955 manual stunnel restart ubuntu v1.bmp|border]]
[[File:Networking Rut955 manual stunnel restart ubuntu v1.bmp|border]]
−
==Testing Results==
==Testing Results==
AeshaShah
Interface administrators
,
Administrators
277
edits
Navigation menu
COMMUNITY
ABOUT
login
Personal tools
Log in
Create account
EN
EN
LT
DE
IT
ES
FR
RU
PL
PT
BR
JA
TR
NAVIGATION
Recent changes
Random page
What links here
Upload file
Help
Tools
Categories
BAT Uninterruptable Power Supplies
Downloads
FAQ
General Information
IoT Platforms
OTD Outdoor routers
RUT Routers
RUTC Routers
RUTM Routers
RUTX Routers
TAP Access Points
TCR Routers
TRB Gateways
TRM Modems
TSF Switches
TSW Switches
EOL Products