19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
# === GENERAL ===
|
|
foreground = yes
|
|
client = yes
|
|
debug = 7
|
|
output = /var/log/opengnsys/stunnel-client-ogboot.log
|
|
|
|
# === TUNEL TLS CLIENTE ===
|
|
[api_tls_client]
|
|
accept = 127.0.0.1:9443
|
|
connect = 192.168.1.10:8443
|
|
|
|
# Certificado del cliente (presentado al servidor)
|
|
cert = /opt/opengnsys/ogboot/etc/certificates/ogboot.crt
|
|
key = /opt/opengnsys/ogboot/etc/certificates/ogboot.key
|
|
|
|
# CA del servidor (para verificar el servidor remoto)
|
|
CAfile = /opt/opengnsys/ogboot/etc/certificates/ca.crt
|
|
verify = 2
|