Open main menu
Home
Random
Log in
Settings
COMMUNITY
ABOUT
Disclaimers
Teltonika Networks Wiki
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