saya agak macet dan butuh bantuan untuk memahami apa yang dikatakan karena tidak ada apa-apa di file log, saya mendapatkan kesalahan berikut ketika saya mencoba dan menjalankan stunnel (servermode):
sudo /etc/init.d/stunnel4 mulai
> [....] Starting stunnel4 (via systemctl): stunnel4.serviceJob for stunnel4.service failed because the control process exited with error
> code. See "systemctl status stunnel4.service" and "journalctl -xe" for
> details. failed!
Ini adalah file conf
...
; * Global options
*
; **************************************************************************
; It is recommended to drop root privileges if stunnel is started by root
;setuid = stunnel4
;setgid = stunnel4
sslVersion = all
; PID file is created inside the chroot jail (if enabled)
pid = /var/run/stunnel.pid
setuid = Jamie
cert = /etc/stunnel/private.pem
[jamietest]
accept = 10.0.2.15:5559
connect = 127.0.0.1:80
Debugging stuff (may be useful for troubleshooting)
foreground = yes
debug = 7
output = /etc/stunnel/stunnel.log
; Enable FIPS 140-2 mode if needed for compliance
;fips = yes
;CRLfile = FILL IN THIS **
; Enable support for the insecure SSLv3 protocol
;options = -NO_SSLv3
; These options provide additional security at some performance degradation
;options = SINGLE_ECDH_USE
;options = SINGLE_DH_USE
;include = /etc/stunnel/conf
systemctl status stunnel4.service
danjournalctl -xe
memberi Anda?Jawaban:
Saya menemukan ini
Stunnel.conf terletak di / etc / stunnel, tetapi program stunnel yang sebenarnya mencarinya di / usr / etc /
Saya senang saya sudah mengetahuinya tetapi saya tidak benar-benar mengerti apa bedanya dan detail yang mengelilingi kedua jalur ini ... siapa saja?
sumber